Error response format
All error responses include amessage field:
errors field:
HTTP status codes
| Code | Description |
|---|---|
200 | OK - Request succeeded |
201 | Created - Resource created successfully |
204 | No Content - Request succeeded with no response body (e.g., deletes) |
400 | Bad Request - Malformed request |
401 | Unauthorized - Missing or invalid authentication token |
403 | Forbidden - Valid token but insufficient permissions |
404 | Not Found - Resource does not exist |
422 | Unprocessable Entity - Validation errors in request body |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error - Unexpected server error |
504 | Gateway Timeout - The charger did not respond in time |