Skip to content

401 unauthenticated

HTTP status
401
Code
unauthenticated
Title
Unauthenticated
Meaning
The credential is missing or invalid.

What to do

Send Authorization: Bearer ek_<keyId>_<secret> with a key that hasn't been revoked, or sign the request with SigV4 from your AWS account. See Authentication.

Where it comes from

Any authenticated endpoint can return it.

The response

Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.

{
"type": "https://docs.rhinorelay.com/api/errors/unauthenticated/",
"title": "Unauthenticated",
"status": 401,
"code": "unauthenticated",
"detail": "The credential is missing or invalid.",
"requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"
}

See it

With $BASE and $KEY set as in the quick start:

Terminal window
# Expect 401 unauthenticated
curl "$BASE/health" -H "Authorization: Bearer ek_not_a_real_key"

Every error code