Error codes and meanings
T-Gate uses conventional HTTP response codes to indicate the success or failure of an API request alongside a message that describes where the error is coming from. Below is a summary of the expected response codes:
| Code | Description |
|---|---|
| 200 | Success |
| 201 | Success, Created |
| 400 | Bad Request, Invalid request body, Invalid or missing parameters |
| 401 | Unauthorized, Invalid or expired access token |
| 403 | Forbidden, Unauthorized action |
| 404 | Not Found |
| 422 | Unprocessable Entity, Invalid or missing parameters |
