invalid_api_key
The API key is malformed, unknown, or revoked.
| HTTP status | type | Retry the same request? |
|---|---|---|
| 401 | authentication_error | after a change |
Why it happens
The key was mistyped, has been rotated (generating new keys for an app revokes the old pair), or belongs to an app that has been removed.
What to do
Copy the current secret key from Connected apps in the dashboard, or generate a new pair.
Example response
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "A human-readable explanation. Do not parse it.",
"doc_url": "https://docs.skanpay.website/errors/invalid_api_key",
"request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
}
}