Skip to content

Errors

UNSUPPORTED_MEDIA_TYPE

The request does not declare a JSON body.

415Unsupported media typeRetry Not without changing the request.

The Content-Type header is missing or is not application/json. The body was not read.

Send Content-Type: application/json. Parameters such as charset=utf-8 are accepted; other JSON types such as application/json-patch+json are not.

Content-Type must be application/json, got text/plain.

The wording of detail can change. Branch on code, never on detail.