invalid_api_key
Invalid API key
| HTTP status | 401 Unauthorized |
|---|---|
| Returned by | Invoicing API (/v1, API keys) |
type | English (default): https://flashpi.com.ec/docs/en/errors/invalid_api_keySpanish ( Accept-Language: es): https://flashpi.com.ec/docs/errors/invalid_api_keyIt 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_orfp_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.
| Language | title | detail |
|---|---|---|
| English (default) | Invalid API key | The API key is malformed, unknown or revoked. |
Spanish (Accept-Language: es) | API key no válida | La API key tiene un formato incorrecto, no existe o fue revocada. |