API problem types
Spirius APIs answer errors as application/problem+json (RFC 9457).
The type field of every error is the address of one of the pages below.
| Status | Type | Meaning |
|---|---|---|
| 401 | unauthorized | The credentials are missing or wrong. |
| 403 | forbidden | The request is refused; other credentials would not help. |
| 404 | not-found | No resource exists at the path. |
| 405 | method-not-allowed | The method is not allowed on the path. |
| 429 | rate-limited | The client's request rate is exceeded. |
| 429 | quota-exceeded | The client's quota is used up. |
| 500 | internal-error | An unexpected error on our side. |
| 503 | provider-unavailable | A provider the API depends on did not answer. |
| 503 | service-unavailable | The request could not be completed right now. |