Skip to content

Commit 33251bb

Browse files
committed
feat(genapi): 429 errors
1 parent af1bdba commit 33251bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ai-data/generative-apis/api-cli/understanding-errors.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ content:
77
paragraph: This page explains how to understand errors with Generative APIs
88
tags: generative-apis ai-data understanding-data
99
dates:
10-
validation: 2024-09-02
10+
validation: 2024-10-31
1111
posted: 2024-09-02
1212
---
1313

@@ -32,6 +32,8 @@ Below are usual HTTP error codes:
3232
- 404 - **Route Not Found**: The requested resource could not be found. Check your request is being made to the correct endpoint.
3333
- 422 - **Model Not Found**: The `model` key is present in the request payload, but the corresponding model is not found.
3434
- 422 - **Missing Model**: The `model` key is missing from the request payload.
35+
- 429 - **Too Many Requests**: You are exceeding your current quota for the requested model, calculated in requests per minute. Find rate limits on [this page](/ai-data/generative-apis/reference-content/rate-limits/)
36+
- 429 - **Too Many Tokens**: You are exceeding your current quota for the requested model, calculated in tokens per minute. Find rate limits on [this page](/ai-data/generative-apis/reference-content/rate-limits/)
3537
- 500 - **API error**: An unexpected internal error has occurred within Scaleway's systems. If the issue persists, please [open a support ticket](https://console.scaleway.com/support/tickets/create).
3638

3739
For streaming responses via SSE, 5xx errors may occur after a 200 response has been returned.

0 commit comments

Comments
 (0)