Skip to content

Commit 2b9c310

Browse files
kristinaorekhovagitbook-bot
authored andcommitted
GITBOOK-602: Edited "Errors with status code 5xx" page
1 parent 7042cf8 commit 2b9c310

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Errors with status code 5xx
22

3-
## Error c**lass overview**
3+
## Errors with status code 5xx
44

5-
These codes indicate issues on the server side. 
5+
These codes indicate issues on the server side.
66

77
{% hint style="success" %}
88
This may mean an issue on our side or on the AI model provider's side. Try making the call again in a few minutes. If the problem persists, contact our [support team](https://help.aimlapi.com/), and we will investigate.
99
{% endhint %}
1010

11-
* **500 Internal Server Error**A generic server-side error.
12-
* **502 Bad Gateway**Issues with a proxy server or gateway.
13-
* **503 Service Unavailable** — The server is temporarily unavailable (e.g., due to overload).
14-
* **504 Gateway Timeout** — The server did not receive a timely response from another service.
11+
* **500 Internal Server Error**An unexpected error occurred on the server.
12+
* **502 Bad Gateway**A downstream service or partner API returned an invalid response.
13+
* **503 Service Unavailable** — The AI model or a partner service is temporarily unavailable.
14+
* **504 Gateway Timeout** — The generation did not finish within the allowed time limit.
1515

1616
## The most frequently received messages
1717

18-
The most frequently received messages in this class are shown below. \
18+
The most frequently received messages in this class are shown below.\
1919
We will gradually expand this list.
2020

21-
<table data-full-width="true"><thead><tr><th width="112" valign="top">Status code</th><th width="392" valign="top">Message</th><th valign="top">Explanation</th></tr></thead><tbody><tr><td valign="top">503</td><td valign="top">"Service unavailable"</td><td valign="top">For some technical reason, the API you are calling is currently unavailable.</td></tr><tr><td valign="top"></td><td valign="top"></td><td valign="top"></td></tr></tbody></table>
21+
<table data-full-width="true"><thead><tr><th width="125.62164306640625" valign="top">Status code</th><th width="271.611328125" valign="top">Message</th><th valign="top">Explanation</th></tr></thead><tbody><tr><td valign="top">500</td><td valign="top">"Internal server error"</td><td valign="top">An unexpected error occurred on our side while processing your request. Retry the call; if the problem persists, contact our support team.</td></tr><tr><td valign="top">500</td><td valign="top">"Something wrong with the server. Please, try again later."</td><td valign="top">A third-party service (including a partner model API) is currently unavailable or failing. Your request is valid — try again a bit later.</td></tr><tr><td valign="top">500</td><td valign="top">"Coupon code not found"</td><td valign="top">The coupon / promo code you entered does not exist or is no longer valid. Check the code for typos or use a different coupon.</td></tr><tr><td valign="top">500</td><td valign="top">"The model is under maintenance, please contact us at help@aimlapi.com.</td><td valign="top">Your Request ID is *." | A provider-side or model-specific error that we don’t yet map to a dedicated message. The model is temporarily unavailable — contact support and include the Request ID.</td></tr><tr><td valign="top">503</td><td valign="top">"Service unavailable"</td><td valign="top">For some technical reason, the API you are calling is currently unavailable.</td></tr><tr><td valign="top">504</td><td valign="top">"Generation timeout"</td><td valign="top">The requested generation took longer than the maximum allowed time. Try reducing duration, resolution, or complexity, or implement a retry with backoff.</td></tr></tbody></table>

0 commit comments

Comments
 (0)