Error Handling
The Nolt API uses conventional HTTP response codes and GraphQL errors to indicate the success or failure of an API request.
HTTP Status Codes
200- Success400- Bad Request401- Unauthorized403- Forbidden404- Not Found429- Rate Limit Exceeded500- Server Error
GraphQL Errors
GraphQL errors will include:
- Error message
- Error code
- Path to the error
- Additional details when available
Example error response:
{
"errors": [
{
"message": "Rate limit exceeded",
"extensions": {
"code": "RATE_LIMIT_EXCEEDED"
}
}
]
}