FastPix uses standard HTTP response status codes to communicate the outcome of your API requests. These codes help you quickly identify whether your request was successful or if an error occurred.
FastPix categorizes responses into three main groups:
- 2xx - Success
These codes indicate that your request was processed successfully.
- 4xx - Client Errors
These errors typically result from issues with your request, such as invalid parameters or missing data.
- 5xx - Server Errors
These codes suggest a problem on FastPix’s end. Our engineering team monitors these closely to ensure high availability and reliability.
PLEASE NOTE
For efficient error handling and improved integration, we recommend building logic in your application to appropriately handle each category of response.
Code | Status | Description |
---|---|---|
200 | Success | The request was successful, and the response contains the requested data. |
201 | Resource Created | The request was successful, and a new resource has been created as a result. |
400 | Bad request | The server cannot process the request due to invalid syntax or malformed data. |
401 | Required Authentication or Invalid Credentials | Authentication is required, or the provided authentication details are incorrect. |
403 | Access Denied | The server understood the request, but it refuses to authorize it. The client does not have permission. |
404 | Resource Not Found | The requested resource could not be found on the server. |
409 | Data Conflict | The request cannot be processed because the data already exists or conflicts with the current state of the resource. |
422 | Invalid Payload | The provided payload is missing required parameters or contains invalid values. |
500 | Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. |
524 | Timeout Occurred | The server took too long to respond and the request timed out. |