So I have been using the HTTPCMD to communicate with a server and this is a typical successful response returned by the command:
{"succeeded":true,"redirectURL":null,"message":"96 rows added
","requestedData":null,"errorCode":0,"errorCodeDescription":null}
Occasionally though I get strange responses like:
84..{"succeeded":true,"redirectURL":null,"message":"96 rows added
","requestedData":null,"errorCode":0,"errorCodeDescription":n
So it appears it is returning the JSON package offset by 4 bytes as the last 4 have been trimmed and leading 4 are not part of the JSON response and this results in a HTTPCMD error. But it was a successful transaction other than the strange offset. This triggers my code to send it again which gives me duplicates in the server.