Skip to content
Ledenboek Developers

Error codes

missing_api_key

Missing API key · HTTP 401

When you get this error

The Authorization header is missing, or does not start with Bearer.

What to do

Send the header Authorization: Bearer lb_live_... with every request.

Example

application/problem+json
{
  "type": "https://developers.ledenboek.nl/errors/missing_api_key",
  "title": "Missing API key",
  "status": 401,
  "detail": "Send a key in the header Authorization: Bearer lb_live_...",
  "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