Docs

Unexpected request body

Your request contains a body, but this is not expected for this endpoint.

Example response
{
"error": {
"type": "request_error",
"code": "unexpected_request_body",
"detail": "Unexpected body included in the request.",
"documentation_url": "https://developer.paddle.com/errors/shared/unexpected_request_body"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
unexpected_request_body
Error message
Unexpected body included in the request.

Common causes

  • You're sending a body with a GET request.
  • You have used the wrong HTTP method.
  • This specific endpoint does not expect a body to be sent.

Troubleshooting

  • Ensure you haven't included a body with a GET request.
  • Check that you haven't used GET instead of your intended POST, PUT or PATCH.

Was this page helpful?