TDAmeritrade OFX import failing

M Prindle mprindle at pobox.com
Tue Dec 24 11:21:10 EST 2013


Hi everyone,

I have been scratching my head on why I can't import OFX's from 
TDAmeritrade.  I keep getting a HTTP-Status: 400 (Bad Request) when I 
import. I've verified my account number and pin so I'm pretty sure those 
are correct.  I've removed and put the account back in with no luck.  
I've followed the wiki and did some searches but haven't gotten anywhere.

Below are the logs:

Sending jobs to the bank(s)
Locking user xxxxxxxxx
Saving communication log to /tmp/ofx.log
Sending request...
Connecting to server...
Resolving hostname "ofxs.ameritrade.com" ...
IP address is "216.105.251.212"
Connecting to "ofxs.ameritrade.com"
Connected to "ofxs.ameritrade.com"
Connected.
Sending message...
Message sent.
Waiting for response...
Receiving response...
HTTP-Status: 400 (Bad Request)
Error parsing server response
Unlocking user xxxxxxxxx
Postprocessing jobs
Resetting provider queues

OFX.log
Sending:
-------------------------------------
OFXHEADER:100

DATA:OFXSGML

VERSION:102

SECURITY:NONE

ENCODING:USASCII

CHARSET:1252

COMPRESSION:NONE

OLDFILEUID:NONE

NEWFILEUID:20131224101326.000


<OFX><SIGNONMSGSRQV1><SONRQ><DTCLIENT>20131224101326.000<USERID>xxxxxxxxx

<USERPASS>xxxx

<LANGUAGE>ENG<FI><ORG>ameritrade.com<FID>5024</FI><APPID>QWIN<APPVER>2000</SONRQ></SIGNONMSGSRQV1><BANKMSGSRQV1><STMTTRNRQ><TRNUID>20131224101326.000<CLTCOOKIE>1<STMTRQ><BANKACCTFROM><BANKID>ameritrade.com<ACCTID>xxxxxxxx<ACCTTYPE>MONEYMRKT</BANKACCTFROM><INCTRAN><INCLUDE>N</INCTRAN></STMTRQ></STMTTRNRQ></BANKMSGSRQV1></OFX>


More information about the gnucash-user mailing list