Skip to content

Unsupported media type

What it means

Auto couldn't read the body because it wasn't sent the way Auto expects. A body must be JSON, encoded as UTF-8, and not compressed.

What to do

Read the problem's detail first. It says what happened to this request.

  • Send the body with Content-Type: application/json, encoded as UTF-8.
  • Don't compress it: leave out Content-Encoding, or set it to identity.

Technical details

  • Type: https://on.auto/problems/unsupported_media_type
  • Status: 415
  • Reason: unsupported_media_type

Responses and errors in the HTTP API reference has the full detail. Problem types lists every type.