Closed jdwx closed 3 years ago
Turns out you actually /can/ see Moneydance's requests and the bank's responses in its console.
Based on that I was able to find that it was stepping all the way down to 102 (with no closing tags, obviously).
This .cfg let me pull acctinfo and statements:
[usaa]
version: 102
unclosedelements = true
appid: QWIN
appver: 2400
Was also able to get it working with version 151 with the cfg:
[usaa]
version: 151
unclosedelements = true
appid: QWIN
appver: 2700
But no dice under 200 or 202, despite "ofxget scan usaa" claiming they are supported.
So I don't know if that's a problem of ofxget incorrectly determining what's supported, USAA not liking the 200/202 code it is sending, or if USAA is advertising 200 and 202 without actually supporting them.
But 151 works fine for me, so 🤷♂️.
Thanks for this, by the way. You have saved me many hours.
Glad it all worked out; thanks for reporting. I'll update the default configuration for USAA accordingly; others have been reporting problems too.
BTW ofxget scan
just requests an OFX profile from the server, and reports successes; the tool can't reasonably log in and request an account statement. For some reason USAA's server is honoring profile requests for OFXv2, but statement requests must be OFXv1. That violates an implicit assumption of the tool.
Unfortunately I'm not able to connect successfully to USAA with ofxtools.
Running "ofxget scan ussa" returns this:
Everything seems fine with that.
Here's what "ofxget list usaa" says:
That all seems fine as well.
But any attempt to do anything else fails with an OFX error status code 2000 ("General Error").
(In all cases I'm going to add some newlines to the XML that aren't in the original to make it more readable. Nothing else has been changed.)
Running "ofxget prof usaa" returns:
ofxget acctinfo -u (userid) usaa returns:
Running "ofxget stmt usaa -u (redacted) -C (redacted) --bankid 314074269" returns:
To confirm that USAA isn't just down, I successfully connected with Moneydance, which uses the same OFX URL and credentials, before and after the test. (Wish I could see the requests that it's sending!)
Also, I tried with incorrect usernames and passwords, and confirmed that they produce a different response:
Not sure what else I can try to get this working.
Wish I could see the exact requests and responses Moneydance is sending!
I did see the note on https://ofxtools.readthedocs.io/en/latest/client.html about User-Agent blocking. I don't know if that's at play, but it doesn't seem like it because in issue #90 you reported that this works for you.
Nonetheless, this page ( https://infinitekind.tenderapp.com/discussions/online-banking/15846-the-error-code-reported-by-the-server-was-2000 ) suggests Moneydance's User-Agent string is:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Edge/15.15063