Skip to content

unauthenticated

Unauthenticated โ€” HTTP 401 ยท type authentication_error

What happened

No API key was supplied, or the key is unknown, revoked, or malformed.

How to fix it

Send a valid key as `Authorization: Bearer <key>`. `ig_test_` keys hit the sandbox host, `ig_live_` keys hit production.

Example response

{
  "error": {
    "type": "authentication_error",
    "code": "unauthenticated",
    "message": "A human-readable description of what went wrong.",
    "doc_url": "https://docs.interglobe.io/errors/unauthenticated"
  },
  "request_id": "req_1a2b3c"
}

โ† All error codes