HRESULT = 0
Error Code = 0
Error Code = 237
Severity = X
Type = C
Error Message = XCInvalid Date Data - %s (Data in pszBuffer)
Other Info = MNYSGMPB: SGML error at (null), line 32 at ">":
XCInvalid Date Data - \023XSTMTTRN.DTPOSTED (Data in pszBuffer)
Current Buffer = 2
So it looks like it doesn't like a date field at line 32 (not including the header) which probably is probably line 41, which is this:
<DTPOSTED>2023-06-26
When I look at an old file that worked is see lines like this:
<DTPOSTED>20230531120000
So the different date format seems to be the (or at least a) problem. Any suggestions how to circumvent it? I could always write a script to convert the new date format to the old one, but that probably would turn this automatic process into a manual one. Is there some other way to fix this?
The first 50 lines of the formatted redacted file in below.
Thanks,
Mike
------------------------------------------------------------
OFXHEADER:100
DATA:OFXSGML
VERSION:102
SECURITY:NONE
ENCODING:USASCII
CHARSET:1252
COMPRESSION:NONE
OLDFILEUID:NONE
NEWFILEUID:NONE
<OFX>
<SIGNONMSGSRSV1>
<SONRS>
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<DTSERVER>20230626120000
<LANGUAGE>ENG
</SONRS>
</SIGNONMSGSRSV1>
<BANKMSGSRSV1>
<STMTTRNRS>
<TRNUID>1
<STATUS>
<CODE>0
<SEVERITY>INFO
</STATUS>
<STMTRS>
<CURDEF>USD
<BANKACCTFROM>
<BANKID>111111111
<ACCTID>1111111111
<ACCTTYPE>checking
</BANKACCTFROM>
<BANKTRANLIST>
<DTSTART>20211226120000
<DTEND>20230626120000
<STMTTRN>
<TRNTYPE>Debit
<DTPOSTED>2023-06-26
<TRNAMT>44.96
<FITID>unknown
<NAME>PwP Smithfield
<MEMO>PwP Smithfield
</STMTTRN>
<STMTTRN>
<TRNTYPE>Credit
<DTPOSTED>2023-06-26
<TRNAMT>1854.10