← all problem types

unsupported_media_type

415 Unsupported Media Type   The request's media type is not one this endpoint reads.

When you get it

The request's media type is not one this endpoint reads. It is always answered with HTTP 415 - one code means one status, so a client may key its handling on either.

Fields it carries

Inside each errors[] entry, beside pointer:

contentType
The media type the request declared.
supported
The values this endpoint supports.

A field is omitted when the server genuinely does not know it - an absent member is never the same as an empty one.

How to fix it

Send the body as application/json.

Shape

{
  "type":   "https://api2.host-tracker.com/problems/unsupported-media-type",
  "title":  "The request's media type is not one this endpoint reads.",
  "status": 415,
  "code":   "unsupported_media_type",
  "errors": [
    { "contentType": …, "supported": … }
  ]
}