Skip to content

bad_request

Bad request

HTTP status400 Bad Request
Returned byInvoicing API (/v1, API keys)
Console
Flashpi’s internal backoffice (staff only)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/bad_request
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/bad_request
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

  • Flashpi could not read the request. Today it happens when a certificate upload is not a valid multipart/form-data body.
  • Send the .p12 file and its password as the form fields the certificate guide shows, and let your HTTP library build the multipart body and its boundary.

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)Bad requestThe request could not be understood.
Spanish (Accept-Language: es)Solicitud incorrectaNo se pudo interpretar la solicitud.