Naar de inhoud
Alle foutcodes

Foutcode

api_key_invalid

The API key does not exist. Check that you sent the whole key.

Over deze code

HTTP-status
401
Komt voor in
Groep
API-sleutels

Wat je kunt doen

Je verzoek is niet aangemeld. Stuur een geldige API-sleutel mee als Authorization: Bearer <sleutel>, of log opnieuw in op het portaal.

Het veld detail zegt wat er mis is. Hetzelfde verzoek opnieuw sturen geeft dezelfde fout.

Zo ziet de foutmelding eruit

type is het adres van deze pagina; code is het laatste deel ervan. Bouw je foutafhandeling op code, niet op title of detail. Wat elk veld betekent, staat in het overzicht.

{
  "type": "https://openbrandstof.nl/problems/api_key_invalid",
  "title": "…",
  "status": 401,
  "detail": "…",
  "code": "api_key_invalid",
  "instance": "…",
  "requestId": "0193a5b2-7c41-7e0a-9d3f-2b6c8e1f4a57"
}