Error AtlasError Documentation and Resolution

HTTP 415 Unsupported Media Type

415 Unsupported Media Type

The server refused the request because the payload format is in an unsupported media type.

415 Unsupported Media Typegeneral
415 Unsupported Media Type
  • The request Content-Type does not match the payload format expected by the server.
  • The API endpoint only accepts specific media types such as application/json or multipart/form-data.
  • The request body format and declared Content-Type are inconsistent.
  1. Check the API or endpoint documentation for the exact Content-Type it accepts.
  2. Make sure the request payload format matches the declared Content-Type header.
  3. If uploading files or form data, use the correct multipart or binary request structure.
MDN: 415 Unsupported Media Type
415 Unsupported Media Type: what it means and how to fix it | Error Atlas