GebSecure Docs v0.1.0

Reference · Error codes

Error: unsupported_media_type

The request body uses a content type the endpoint does not accept (HTTP 415).

HTTP 415 · problem type: https://docs.gebsecure.com/errors/unsupported_media_type · title: unsupported_media_type

Common causes#

  • A body sent as application/x-www-form-urlencoded, multipart/form-data or another non-JSON type to a JSON endpoint.

What to do#

  • Send content-type: application/json (the SDKs do this for you).

In the SDKs#

The SDKs raise their generic API error type for unsupported_media_type.

Every error response is RFC 9457 application/problem+json; see the error model.