Skip to content

key_scope_mismatch

API key scope mismatch

HTTP status403 Forbidden
Returned byInvoicing API (/v1, API keys)
typeEnglish (default): https://flashpi.com.ec/docs/en/errors/key_scope_mismatch
Spanish (Accept-Language: es): https://flashpi.com.ec/docs/errors/key_scope_mismatch
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 limited to one issuer, and the request names another issuer or calls a route of the whole account: managing issuers, establishments, emission points, certificates and webhook endpoints, or issuing with the shared demo issuer.
  • Use a key of that issuer, or an account-scoped key. See scope.

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)API key scope mismatchThis API key is limited to another issuer or cannot perform this operation.
Spanish (Accept-Language: es)Alcance de la API key insuficienteEsta API key está limitada a otro emisor o no puede realizar esta operación.