Unsupported media type
For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append.mdto anykestra.io/docs/*URL for plain Markdown.
The endpoint does not accept the Content-Type of the request body.
- HTTP status —
415 Unsupported Media Type type—https://kestra.io/docs/api-reference/problems/unsupported-media-type
When you get it
- A body is sent as
text/plainto an endpoint that consumes JSON. - A request that has a body is sent with no
Content-Type.
Example response
A response reporting this problem:
{ "type": "https://kestra.io/docs/api-reference/problems/unsupported-media-type", "title": "Unsupported media type", "status": 415, "detail": "Unsupported media type", "instance": "/api/v1/main/flows"}How to handle it
Set Content-Type to what the endpoint consumes: application/json for most, multipart/form-data for file uploads.
For the members every problem document carries, see Problem Details.
Was this page helpful?