Comments (12)
No worries - life happens.
Thanks for the reply - my opinion is that we shouldn't let lack of an authoritative source stop us from moving forward (though I can still hope for one!).
from ofxgo.
That's directly from USAA, I'm pretty sure.
Ah, okay. The name "OFXAdapter" made me think you might be using something in the middle to try to make it behave.
I'd welcome a PR for this. My initial thoughts are that it would require both a change to the XML library (see https://github.com/aclindsa/xml/blob/207ec7fb74201d07016cbd7064cb6331dde91eba/marshal.go#L962) and where ofxgo writes the SGML header: https://github.com/aclindsa/xml/blob/207ec7fb74201d07016cbd7064cb6331dde91eba/marshal.go#L962. There may be a few other places sprinkled around that I haven't discovered yet that you'll find during testing!
I think ideally which line ending to use would be a runtime-configurable parameter, and not a hard-coded thing (in both the xml and ofxgo libraries).
from ofxgo.
@JohnStarich Well-deserved pokes, to be sure. Sorry about the delay - unfortunately you lost the latency lottery and sent these when I'm busier than I've been in a while. I have not forgotten about them, though, and hope to review them this week!
from ofxgo.
I think I'm okay with this in principle (though I'd like to do a little sanity check of my own that a few common banks continue to work after the change).
Is the "OFXAdapter: Failed to parse request..." message you're getting a straight response from USAA, or are you using some other piece of software to intermediate?
from ofxgo.
Ok cool. Yeah, makes sense! 2 of my credit cards and both of my USAA accounts all work, if that helps π Probably needs some more testing than just my accounts, but I don't have very many to try, unfortunately π
That's directly from USAA, I'm pretty sure. That line appears above the OFX headers but after the HTTP headers in the raw response. (I had a similar, but different message when I passed closing tags in my other issue #18)
from ofxgo.
Sounds good π thanks for the tips!
I like the config parameter idea. It seems like \r\n
line-endings are compatible with more institutions, so I think it would make a good default value, then this parameter could let you switch to unix line-endings if necessary?
I'll be out of town next week, but I'll probably give it a shot the week after π΄
from ofxgo.
It seems like
\r\n
line-endings are compatible with more institutions
Is your basis for this that the two projects you mentioned above do it that way, or have you found other info? I think the projects are probably sufficient evidence, but I'm curious to learn more if you came across other sources...
from ofxgo.
Sorry about my delay in getting back to you!
I based that on those projects I mentioned, and they appear to have a little traction based on their GitHub stats. It isn't really much to go on, I haven't done much research in this area π
Based on my brief searches (best one seems to be "ofx" carriage return
), this issue does seem to pop up on forums and in a few libraries
from ofxgo.
First PR is ready to go! aclindsa/xml#2
from ofxgo.
friendly poke π @aclindsa
from ofxgo.
Oh no! π
No rush, just wanted to make sure you werenβt asleep at the wheel! Iβve got work-arounds for now, anyway π
from ofxgo.
Second part is up now too, for extra fun π₯ #20
from ofxgo.
Related Issues (12)
- slow go-get because of aclindsa/go dep HOT 3
- BMO produces invalid XML for BANKMSGSETV1 HOT 6
- Marshalled requests for OFX 102 should not include element end tags HOT 7
- Unable to connect to any of my banks using this HOT 2
- Pending transactions missing from query responses HOT 4
- Is There List of Finance Institution Tested HOT 3
- Don't make people search for usage examples HOT 1
- can't parse response: OFX SECURITY header not NONE HOT 7
- Unable to `go get` this package HOT 2
- `ofx transactions-cc` panics for two credit card accounts
- XML syntax error on line 1: element <MESSAGE> closed by </STATUS> HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ofxgo.