Skip to content
SkanPay Docs

missing_api_key

No API key was sent.

HTTP statustypeRetry the same request?
401authentication_errorafter a change

Why it happens

The Authorization header is missing.

What to do

Send Authorization: Bearer sk_live_… with your secret key.

Example response

401
{
  "error": {
    "type": "authentication_error",
    "code": "missing_api_key",
    "message": "A human-readable explanation. Do not parse it.",
    "doc_url": "https://docs.skanpay.website/errors/missing_api_key",
    "request_id": "req_01J9Z3K8Q4W6XK2M7N5P0R3T8V"
  }
}

All error codes