unsupported_media_type
Unsupported media type
| HTTP status | 415 Unsupported Media Type |
|---|---|
| Returned by | Invoicing API (/v1, API keys)Console Flashpi’s internal backoffice (staff only) |
type | English (default): https://flashpi.com.ec/docs/en/errors/unsupported_media_typeSpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/unsupported_media_typeIt 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 ascharset=utf-8. - A compressed body may only use the
Content-Encodinggzip,deflateorbr.
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.
| Language | title | detail |
|---|---|---|
| English (default) | Unsupported media type | The request content type or encoding is not supported. |
Spanish (Accept-Language: es) | Tipo de contenido no soportado | El tipo de contenido o la codificación de la solicitud no están soportados. |