ReferenceHTTP API
HTTP status codes
Status codes the REST API returns and what they mean in Discord terms.
| Status | Name | Meaning |
|---|---|---|
200 | OK | The request completed successfully. |
201 | Created | The entity was created successfully. |
204 | No Content | The request completed successfully but returned no content. |
304 | Not Modified | The entity was not modified (no action was taken). |
400 | Bad Request | The request was improperly formatted, or the server couldn't understand it. |
401 | Unauthorized | The Authorization header was missing or invalid. |
403 | Forbidden | The Authorization token you passed did not have permission to the resource. |
404 | Not Found | The resource at the location specified doesn't exist. |
405 | Method Not Allowed | The HTTP method used is not valid for the location specified. |
429 | Too Many Requests | You are being rate limited, see Rate Limits. |
502 | Gateway Unavailable | There was not a gateway available to process your request. Wait a bit and retry. |
5xx | Server Error | The server had an error processing your request (these are rare). |
Nothing in this table matches. Try a name, a number or part of the description.