Don't worry about that. That's a standard OFXv2 header (i.e. compliant
XML). The other headers you were noting earlier are OFXv1 headers (i.e.
the weird INI-formatted key: value pairs prepended to the SGML soup).
The problem I have is that USAA bank tells me it will speak OFXv2, and
then returns an error when I try to do so. And then furthermore returns
an error for validly-formed OFXv1!
None of this using AqBanking, mind. Something has changed over at USAA.
On 3/18/20 3:05 PM, chris graves wrote:
I was thinking that it could be the first two lines of your file below.
On Mar 18, 2020, at 12:40 PM, John Ralls <jra...@ceridwen.us> wrote:
On Mar 18, 2020, at 9:33 AM, Christopher Singley <csing...@gmail.com> wrote:
You're sending VERSION="220", which USAA doesn't accept. You need to send VERSION="200"
or VERSION="202". Try that.
No joy, I still get a 400 response, but it does occur to me that it isn't
necessarily an OFX issue, it could be that the HTTP request itself is malformed.
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<?OFX OFXHEADER="200" VERSION="202" SECURITY="NONE" OLDFILEUID="NONE"?>
<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20200318122832</DTCLIENT>
<USERID>XXXXXXXX</USERID>
<USERPASS>XXXXXXXX</USERPASS>
<LANG>ENG</LANG>
<FI>
<ORG>USAA</ORG>
<FID>24591</FID>
</FI>
<APPID>QWIN</APPID>
<APPVER>2300</APPVER>
</SONRQ>
</SIGNONMSGSRQV1>
<CREDITCARDMSGSRQV1>
<CCSTMTTRNRQ>
<TRNUID>20200318122835</TRNUID>
<CCSTMTRQ>
<CCACCTFROM>
<BANKID>24591</BANKID>
<ACCTID>XXXXXXXXXX</ACCTID>
</CCACCTFROM>
<INCTRAN>
<DTSTART>20200310000000</DTSTART>
<DTEND>20200318000000</DTEND>
<INCLUDE>Y</INCLUDE>
</INCTRAN>
</CCSTMTRQ>
</CCSTMTTRNRQ>
</CREDITCARDMSGSRQV1>
</OFX>
Regards,
John Ralls
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.