For AI agents and LLMs: a structured documentation index is available at /llms.txt. Every page has a Markdown sibling — append .md to any URL. To search these docs, send a GET request to https://paddle-docs-retrieval.kapa-paddle.workers.dev/?q=<question> with a URL-encoded question. No authentication needed.

Skip to content
Paddle Docs home

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 used an unsupported Content-Type header with your request.

Troubleshooting

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

Was this page helpful?