CannotParse (ValidationException): Amazon Creators API error
What it means
The request body is not valid JSON.
Message returned by the API: Unable to parse the request payload. Please verify that the request body is valid JSON.
Typical causes
- Trailing commas, single quotes or unescaped characters.
- Body sent as form data instead of JSON.
Content-Typeis notapplication/json.
How to fix it
- Validate the body with a JSON linter.
- Send
Content-Type: application/json. - Let your HTTP client serialize the body instead of building the string by hand.
Not sure which part fails? Run Test credentials in the Scratchpad. It checks the token, the API access and the partner tag separately.
Example response
{
"type": "ValidationException",
"message": "Unable to parse the request payload. Please verify that the request body is valid JSON.",
"reason": "CannotParse"
}Related errors
- FieldValidationFailed: A required field is missing or has an invalid value. The `fieldList` in the response names it.