All status codes

4xx Client errors

415 Unsupported Media Type

The server doesn't accept the request body's format.

Common causes

  • A missing or wrong Content-Type header, like sending JSON without application/json.

How to fix it

  • Set the Content-Type header to match the body.
Full troubleshooting guide415 Unsupported Media Type: what it means and how to fix itA 415 means the server won't accept the format of your request body. Learn the usual Content-Type mistakes with curl, fetch and form uploads, and how to debug and return a clear 415.

Find out the moment your site returns 415

Spot Downtime monitors count this as down and alert you, since visitors see an error. (The public “Is it down?” checker treats 4xx answers from big sites as online, because many refuse automated requests.)