Docs

JSON payload invalid

Your request isn't valid JSON.

Example response
{
"error": {
"type": "request_error",
"code": "invalid_json",
"detail": "Invalid JSON in your request.",
"documentation_url": "https://developer.paddle.com/errors/shared/invalid_json"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
invalid_json
Error message
Invalid JSON in your request.

Common causes

  • You're sending invalid JSON in your request.
  • You may be sending an incorrect Content-Type header.

Troubleshooting

  • Check that your request body is JSON.
  • Check that the JSON you sent is formatted correctly.
  • Make sure that your Content-Type header is application-json.

Was this page helpful?