[GNC] AQBanking OFX DirectConnect

John Ralls jralls at ceridwen.us
Wed Mar 18 19:53:56 EDT 2020


Nope:
Connected.
Sending message...
Message sent.
Waiting for response...
Receiving response...
HTTP-Status: 400 (Bad Request)
Unlocking customer "8"

Sending:
-------------------------------------
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:20200318164314.000

<OFX>
<SIGNONMSGSRQV1>
<SONRQ>
<DTCLIENT>20200318164310
<USERID>XXXXXXXX
<USERPASS>XXXXXXXX
<LANGUAGE>ENG
<FI>
<ORG>USAA
<FID>24591
</FI>
<APPID>QWIN
<APPVER>2300
</SONRQ>
</SIGNONMSGSRQV1>
<CREDITCARDMSGSRQV1>
<CCSTMTTRNRQ>
<TRNUID>20200318164314
<CLTCOOKIE>1
<CCSTMTRQ>
<CCACCTFROM>
<BANKID>24591
<ACCTID>XXXXXXXXXX
</CCACCTFROM>
<INCTRAN>
<DTSTART>20200309000000
<DTEND>20200318000000
<INCLUDE>Y
</INCTRAN>
</CCSTMTRQ>
</CCSTMTTRNRQ>
</CREDITCARDMSGSRQV1>
</OFX>

Taking out the \r\n's doesn't help either.

Regards,
John Ralls

> On Mar 18, 2020, at 4:32 PM, Martin Preuss <martin at aqbanking.de> wrote:
> 
> Hi,
> 
> I just checked in another change... While comparing your logs I found
> that aqb6 uses "LANG" while aqb5 used the correct name "LANGUAGE".
> 
> Also, added "CLTCOOKIE" (was set by aqb5 but missing in aqb6).
> 
> Also, I noticed that aqb5 included "BANKID" which you log from aqb6
> didn't contain that line...
> 
> However, I think the unexpected element "LANG" (instead of "LANGUAGE")
> was what made the server reject the request due to syntax error...
> 
> Fixed in git.
> 



More information about the gnucash-user mailing list