Error codes
Errors / Authentication failed
Authentication failed
- Code
authentication_failed- HTTP status
- 401
- Where you see it
-
An error answer (
application/problem+json)
How to fix it
Tip
Send a valid secret key in the Authorization header: "Bearer sk_live_…" or "Bearer sk_test_…".
What the answer looks like
Every error is application/problem+json (RFC 9457). Read the code, not the
title or detail text, which may change. Keep the request_id
when you contact support.
Error 401 (JSON)
{
"type": "https://docs.no1paytest.com/errors/authentication_failed",
"status": 401,
"code": "authentication_failed",
"title": "Authentication failed",
"detail": "Authentication failed",
"request_id": "req_01k6c0z7x4m2p9q8r5s3t1v0w2"
}