Skip to content

api_key_not_found

API key not found. HTTP status 404.

No API key with this id exists on your account. A key that belongs to another account gets the same answer.

What to do

List your keys with GET /api/v2/api-keys and use an id from that list.

What the message says

  • The requested API key could not be found.

Example

Response 404
{
"type": "https://developer.hostup.se/errors/api_key_not_found",
"title": "API key not found",
"status": 404,
"detail": "The requested API key could not be found.",
"code": "api_key_not_found",
"requestId": "req_01hxa3b4c5d6e7f8g9h0j1k2m3"
}

Branch on code, not on title or detail. When you contact support about it, include the requestId. More in Errors and retries.