Skip to content

unsupported_media_type

Unsupported media type

HTTP status415 Unsupported Media Type
Returned byInvoicing API (/v1, API keys)
Console
Flashpi’s internal backoffice (staff only)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/unsupported_media_type
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/unsupported_media_type
It changes with the language of the answer: branch on code.
Retry?No: the same request gets the same answer. Change the request, or the state of what it acts on, first.

What to do

  • Send JSON bodies in UTF-8: Content-Type: application/json, with no charset or a UTF one such as charset=utf-8.
  • A compressed body may only use the Content-Encoding gzip, deflate or br.

Texts of the answer

The title and detail of the answer, in English by default and in Spanish when the Accept-Language entry with the highest priority (q) is es or es- plus a region, such as es-EC. A detail can be more specific than this one, and {name} marks a value of each occurrence.

Languagetitledetail
English (default)Unsupported media typeThe request content type or encoding is not supported.
Spanish (Accept-Language: es)Tipo de contenido no soportadoEl tipo de contenido o la codificación de la solicitud no están soportados.