Skip to content

invalid_api_key

Invalid API key

HTTP status401 Unauthorized
Returned byInvoicing API (/v1, API keys)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/invalid_api_key
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/invalid_api_key
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

  • The key is malformed, unknown or revoked; Flashpi does not say which, on purpose. Copy the whole key, with its fp_test_ or fp_live_ prefix, and no spaces or line breaks.
  • If it was revoked, create a new one in the console. See Authentication.

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)Invalid API keyThe API key is malformed, unknown or revoked.
Spanish (Accept-Language: es)API key no válidaLa API key tiene un formato incorrecto, no existe o fue revocada.