Forum Discussion
DeepaPrashant
2 years agoQrew Member
It appears I forgot to mention the exact error I get.
Here it is...
<?xml version="1.0" ?> | |
<qdbapi> | |
<action>API_AddRecord</action> | |
<errcode>11</errcode> | |
<errtext>Could not parse XML input</errtext> | |
<errdetail>XML Parsing Error. unclosed token at line 1 column 907 (which is byte 908)</errdetail> | |
</qdbapi> |
So I tried to find the 907th byte...and that is the very last part of the payload. 907+ remaining bytes shown below.
></qdbapi> |
So confused.
------------------------------
Deepa Prashant
------------------------------
ChayceDuncan
2 years agoQrew Captain
In the data you've omitted, do you have any special characters like & or < in any of the inputs? If it worked prior, then with no changes to the API call it sounds like there is something in the actual data that is being interpreted in the XML and corrupting the payload. For example having & typically has to be escaped as & - do you have any occurrence of invalid characters anywhere in the example that is failing?
------------------------------
Chayce Duncan
------------------------------