Skip to Content
NoCam API
Errors

invalid_api_key

The key isn't valid

  • Where: HTTP 401, and nothing started
  • Charged: No
  • Worth retrying: No. Someone has to change the key or the account.

What happened

There's no key in the request, or it's mistyped or revoked.

What to do

Send Authorization: Bearer nc_live_…. If the key was revoked, get a new one.

What it looks like

The real message and hint name the details of your request, such as the field and the values that work.

{
  "error": {
    "code": "invalid_api_key",
    "message": "There's no key in the request, or it's mistyped or revoked.",
    "hint": "Send `Authorization: Bearer nc_live_…`. If the key was revoked, get a new one.",
    "retryable": false,
    "request_id": "req_01a1b37b65dc7dcd8c060f296add5cf8",
    "docs_url": "https://docs.nocamclub.com/errors/invalid_api_key"
  }
}

All codes: Errors.

On this page