Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Error: Unexpected character

Started by Lance Paterson -   in API Authentication

Dear all,

We have a simple Xero API integration that sends new contacts over from our CRM using JSON.

For about the last week, we've been getting a new error message:
Message: Unexpected character ('P' (code 80)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at input location 1,2

Any clues as to where we should look? We've not changed anything our end, and there's nothing obvious in the JSON we're sending that might have caused it to throw up...