Synq Docs
Errors

Unsupported media type

The `unsupported_media_type` error: HTTP 415 Unsupported Media Type.

An upload in a format the route doesn't take: detail lists those it does.

FieldValue
codeunsupported_media_type
status415 Unsupported Media Type
titleUnsupported media type

Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is unsupported_media_type. Branch on code, never on title or detail: a code never changes once it ships, while the words may.

{
  "type": "…/errors/unsupported_media_type",
  "title": "Unsupported media type",
  "status": 415,
  "code": "unsupported_media_type"
}

See every error code.