Skip to content
Ledenboek Developers

Error codes

invalid_api_key

Invalid API key · HTTP 401

When you get this error

The key does not exist, has been revoked or has expired.

What to do

Check that you copied the whole key. If it has been revoked or has expired, ask an administrator to create a new one under Settings → API keys.

Example

application/problem+json
{
  "type": "https://developers.ledenboek.nl/errors/invalid_api_key",
  "title": "Invalid API key",
  "status": 401,
  "detail": "This key does not exist, has been revoked or has expired.",
  "instance": "/v2/members"
}

The type field is the same in every language; title and detail follow Accept-Language. Build your error handling on type.

All error codes