Appearance
Errors
Rexel uses standard HTTP status codes. Error bodies carry a trace ID for support.
Error format
json
{
"isSuccess": false,
"title": "Access Denied!",
"status": 401,
"detail": "Access Denied! You do not have the necessary permissions to perform this action. Please contact the Rexel team for assistance.",
"traceId": "00-b5aa368c66bff0279d7162dbc184a747-c971865180e32372-00"
}| Field | Type | Description |
|---|---|---|
isSuccess | boolean | Always false for errors |
title | string | Short summary |
status | integer | HTTP status code |
detail | string | Explanation and suggested fix |
traceId | string | Request ID; give it to support |
Status codes
| Code | Meaning | Retry? |
|---|---|---|
200 | OK | n/a |
202 | Accepted (payout queued) | n/a |
400 | Bad request / invalid params | No; fix the request |
401 | Missing or invalid key | No |
404 | Resource not found | No |
409 | Duplicate reference | No; query status first |
500 | Internal server error | Yes, with exponential backoff |
503 | Service unavailable | Yes, with exponential backoff |
Best practices
- Check both the HTTP status and the body's success flag.
- Log the code, message, status,
traceIdand request context. - Retry only
500and503, with exponential backoff. - Validate input before sending to avoid
400s.
Need help?
- Check the
detailand anyfailures/errorsarray. - Confirm you are using the right key prefix for the environment.
- Reproduce with test keys first.
- Contact Rexel support with the
traceId.