Errors
UNSUPPORTED_MEDIA_TYPE
The request does not declare a JSON body.
415Unsupported media typeRetry Not without changing the request.
What happened
Section titled “What happened”The Content-Type header is missing or is not application/json. The body was not read.
What to do
Section titled “What to do”Send Content-Type: application/json. Parameters such as charset=utf-8 are accepted; other JSON types such as application/json-patch+json are not.
Example detail
Section titled “Example detail”Content-Type must be application/json, got text/plain.The wording of detail can change. Branch on code, never on detail.