What does 401 Unauthorized mean?
The request has no valid credentials. Despite the name it means "unauthenticated". The response should include a WWW-Authenticate header.
Common causes
- Missing or expired API key / token
- Wrong Authorization header format
- Clock skew on signed requests
How to fix it
- Send
Authorization: Bearer <token> - Refresh the token
- Check the key belongs to the right environment (test/live)
401 and webhooks
If your endpoint returns 401 because signature verification failed, the provider keeps retrying — check the signing secret (HMAC debugger).
Test how your client handles 401
In the webhook tester you can add a response rule that answers 401 — useful to check retries, error handling and alerts before production.
FAQ
What does HTTP 401 mean?
Authentication is missing or invalid. The request has no valid credentials. Despite the name it means "unauthenticated". The response should include a WWW-Authenticate header.
Is 401 an error?
Yes — a client error: the request must be changed before retrying.
Other 4xx codes
400 Bad Request · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 418 I'm a teapot · 422 Unprocessable Content · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request