Error Codes
Reference guide for all HTTP status codes and error responses returned by the Pixelbase API.
HTTP Status Codes
The API uses standard HTTP status codes to indicate the success or failure of requests.
Success Codes
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request completed successfully. |
| 201 | Created | Resource created successfully. |
| 204 | No Content | Request succeeded with no response body (typically for DELETE operations). |
Client Error Codes
| Code | Status | Description |
|---|---|---|
| 400 | Bad Request | Invalid request syntax or missing required fields. |
| 401 | Unauthorized | Missing or invalid API key. |
| 403 | Forbidden | Valid credentials but insufficient permissions. |
| 404 | Not Found | The requested resource does not exist. |
| 409 | Conflict | Request conflicts with current state (e.g., duplicate entry). |
| 422 | Unprocessable Entity | Valid syntax but semantically incorrect request. |
| 429 | Too Many Requests | Rate limit exceeded. |
Server Error Codes
| Code | Status | Description |
|---|---|---|
| 500 | Internal Server Error | Unexpected server error. Contact support if this persists. |
| 503 | Service Unavailable | Service temporarily unavailable. Try again later. |