api / errors
Unauthorized
HTTP 401, code unauthorized.
Updated · API v1
What it means
The Authorization header is missing, or the key is unknown, expired or revoked.
What to do
Send Authorization: Bearer <your API key>. Create or rotate keys in the Adspy console (API page).
Not retryable as it is: sending the same request again gives the same answer.
The answer
{
"type": "https://www.adspy.sh/docs/api/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "…",
"code": "unauthorized",
"request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
"instance": "/api/v1/…"
}Every error type and how to handle them.