Docs

Invalid Content-Type header

The request has an invalid Content-Type header.

Example response
{
"error": {
"type": "request_error",
"code": "unsupported_media_type",
"detail": "Content-Type must be \"application/json\".",
"documentation_url": "https://developer.paddle.com/errors/shared/unsupported_media_type"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
415
Error code
unsupported_media_type
Error message
Content-Type must be "application/json".

Common causes

  • You sent an unsupported Content-Type header with your request

Troubleshooting

  • Make sure that your Content-Type header is "application-json".

Was this page helpful?