EMZETT.
Login

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

  1. Check the Content-Type header and set it to match the body.
  2. As a user: upload an allowed file type.

See also: HTTP Status Codes Overview, HTTP