Fejl
Hver fejl er et JSON-objekt med error
og message. Skift på
error; beskeden er
til mennesker og kan ændre sig.
{ "error": "NOT_FOUND", "message": "No company matched that query." }
| error | HTTP | Hvornår |
|---|---|---|
| MISSING_TOKEN | 401 | No Authorization header. |
| INVALID_TOKEN | 401 | The token is unknown or has been revoked. |
| UPGRADE_REQUIRED | 403 | This plan may not request include=owners. |
| NOT_FOUND | 404 | Nothing in the register matched. |
| INVALID_REQUEST | 422 | A parameter is missing or malformed. |
| INVALID_VAT | 422 | The registration number has the wrong shape for that country. |
| QUOTA_EXCEEDED | 429 | The daily quota is spent. |
| MONTHLY_QUOTA_EXCEEDED | 429 | The monthly quota is spent. |