404 — Resource not found
1 min read
404 Not Found
/v1/*: { "error": { "type": "not_found", "message": "Ressource ikke fundet", "code": 404 } }
/dawa/*: { "type": "ResourceNotFoundError", "title": "The resource was not found", "details": { "id": "…" } }
Common causes:
- Wrong/unknown DAR id (address UUID). Verify the id with a search:
/v1/adresser?q=…. - Discontinued (henlagt) address. Only current/active addresses are returned — discontinued ones give 404 (as in DAWA).
- Wrong path. Check you use
/v1/adresser/{id}or/dawa/adresser/{id}.
Bash
curl -H "Authorization: Bearer <key>" \
"https://api.danskadresseapi.dk/v1/adresser?q=rådhuspladsen%201%20københavn&per_side=5"An invalid id format (e.g. a non-UUID on an{id}path) usually gives a path-format error (ResourcePathFormatErroron /dawa), not 404.
Was this helpful?
