Groq errors
OperationalWhat an error from Groq means, and whether Groq is failing for everyone at this moment.
Is Groq failing right now?
No, Groq is working. The official Groq status page reports no incidents. We don’t make our own calls to this service. Last check 2 min ago.
We do not call Groq ourselves, so we have no error share of our own for it.
What each error code means
These are the HTTP status codes an API call can come back with. The meaning is the one of the HTTP standard.
| Code | What it means | What to do | Whose side |
|---|---|---|---|
| 400 Bad request | The request is not one the service can read: a field is missing, has the wrong type, or is too large. | Read the message in the body of the answer. Sending the same request again gives the same error. | Yours |
| 401 Unauthorized | The key or the sign-in is missing, wrong or no longer valid. | Check the key and how it is sent. Create a new one if it was revoked. | Yours |
| 403 Forbidden | The key is valid and may not do this: the plan, the region or the permission does not allow it. | Check what the key and the account may use. | Yours |
| 404 Not found | The address, or the model named in the request, does not exist for this account. | Check the address and the exact name of the model. | Yours |
| 429 Too many requests | A limit was reached: requests or tokens in a minute, or the credit of the account. | Wait as long as the Retry-After header says, then try again with a growing pause. If it does not pass, look at the limits of the account. | Yours |
| 500 Internal server error | The service failed while it handled the request. | Try again after a short pause. If it goes on, it is an incident on their side. | Theirs |
| 502 Bad gateway | A server in front of the service got no valid answer from the one behind it. | Try again after a short pause. | Theirs |
| 503 Service unavailable | The service cannot take the request now: it is overloaded or under maintenance. | Try again with a growing pause, and look at the status below. | Theirs |
| 504 Gateway timeout | A server in front of the service waited too long for the one behind it. | Try again. A long request may need streaming or a smaller size. | Theirs |
Questions about Groq errors
Is it Groq or my request?
A code from 400, 401, 403, 404 or 429 is about the request, the key or a limit of your account, and the same request fails again until that changes. A code from 500, 502, 503 or 504 is a fault on the side of Groq, and trying again later can pass. Right now: No, Groq is working. The official Groq status page reports no incidents. We don’t make our own calls to this service. Last check 2 min ago.
What does Groq error 429 mean?
A limit was reached: requests or tokens in a minute, or the credit of the account. Wait as long as the Retry-After header says, then try again with a growing pause. If it does not pass, look at the limits of the account.
What does Groq error 500 or 503 mean?
The service failed while it handled the request. The service cannot take the request now: it is overloaded or under maintenance. Try again with a growing pause, and look at the status below.
Why do I get Groq error 401?
The key or the sign-in is missing, wrong or no longer valid. Check the key and how it is sent. Create a new one if it was revoked.