Foutcode
station_not_found
The station does not exist, or you may not act on it. Both answer the same.
Over deze code
- HTTP-status
- 404
- Komt voor in
- Groep
- Stations en prijzen
Wat je kunt doen
Pas het verzoek aan. Het veld detail zegt wat er niet klopte; bij ongeldige velden noemt errors elk veld.
Hetzelfde verzoek ongewijzigd 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/station_not_found",
"title": "…",
"status": 404,
"detail": "…",
"code": "station_not_found",
"instance": "…",
"requestId": "0193a5b2-7c41-7e0a-9d3f-2b6c8e1f4a57"
}