API · Utility
GET /utility/explain-error
Explains a failed response (status or error body): what it means and what to do next.
| Request | GET /v1/utility/explain-error |
| Operation id | utility.explain_error.get |
| Cost | Free |
| Auth | None. |
Explains a failed response (status or error body): what it means and what to do next.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
status | integer | no | The HTTP status. Example: 402. |
body | string | no | The response body. |
request | string | no | The request you made (echoed). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | What the error means and what to do. | |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No such endpoint, recipe or platform. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Utility is temporarily unavailable. Retryable; nothing was charged. | Error |
Errors use one shape everywhere; see Errors for every code and what to do.