HTTP 415 Unsupported Media Type
In short: The data format of the request (Content-Type) is not supported by the server.
In more detail: The server expects JSON, for example, but receives a form or plain text. The Content-Type header does not match what the interface understands.
In Depth
When it occurs
- API call without
Content-Type: application/json. - An uploaded file has a type that is not allowed.
What you can do
- Check the
Content-Typeheader and set it to match the body. - As a user: upload an allowed file type.
See also: HTTP Status Codes Overview, HTTP