Skip to content

Commit f41b798

Browse files
committed
docs: update error code for too many requests
- Change error code 429 from 'forbidden' to 'tooManyRequests' - This update improves clarity and aligns with standard HTTP status code descriptions
1 parent 54d9b06 commit f41b798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/api-server/architecture/error-handling.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The following table lists the most common error codes and their corresponding HT
3434
| `403` | `forbidden` | The authenticated user does not have the necessary permissions to perform the requested action. |
3535
| `404` | `notFound` | The requested resource (e.g., an item with a specific ID) could not be found. |
3636
| `409` | `conflict` | The request could not be completed due to a conflict with the current state of the resource. |
37-
| `429` | `forbidden` | The request was rejected because the client has exceeded the rate limit. |
37+
| `429` | `tooManyRequests` | The request was rejected because the client has exceeded the rate limit. |
3838
| `500` | `serverError` | A generic error occurred on the server. |
3939
| `500` | `operationFailed` | A specific, known operation failed on the server for an unexpected reason. |
4040
| `500` | `unknownError` | An unexpected and unhandled error occurred on the server. |

0 commit comments

Comments
 (0)