HTTP status codes & Error messages
How to interpret error information
HTTP status codes
The LingoHub API returns standard HTTP status codes for every request. These codes indicate the success or failure of an API operation.
| Code | Name | Meaning |
|---|---|---|
| 200 | OK | The request was successful. |
| 304 | Not Modified | The resource has not changed since the last request. |
| 400 | Bad Request | The request is invalid. Review the accompanying error message for details. |
| 401 | Unauthorized | Authentication credentials are missing or incorrect. |
| 403 | Forbidden | The server understood the request but refuses to authorize it due to insufficient permissions. |
| 404 | Not Found | The requested URI is invalid, or the resource (such as a project) does not exist. |
| 406 | Not Acceptable | The request specified an invalid format. |
| 429 | Too Many Requests | The API rate limit was exceeded. Reduce the frequency of your requests. |
| 500 | Internal Server Error | An unexpected error occurred on the server. Please contact LingoHub Support to investigate the issue. |
Error messages
The LingoHub API returns error messages in the format requested (e.g., JSON).
The following example shows an error response in JSON format:
{
"error": "The 'page_size' parameter must be between 1 and 100 but was -1"
}Updated 28 days ago
