Status Codes
Fiat Republic API Status Codes
The Fiat Republic API uses standard HTTP response codes.
Status codes are categorized as follows: 2xx (Success), 4xx (Client Error), and 5xx (Server Error).
2xx Success
Status Code | Description |
---|---|
200 OK | The request was successful. The response body contains the requested data. |
201 Created | A new resource was successfully created. The response body typically contains the newly created resource. |
202 Accepted | The request has been accepted for processing, but the processing has not yet been completed. The client should not assume that the request will be eventually completed. This code is often used for asynchronous operations. |
204 No Content | The request was successful, but there is no content to return in the response body. (e.g. DELETE requests). |
4xx Client Errors
Status Code | Description |
---|---|
400 Bad Request | The request was malformed or contains invalid parameters. Refer to the API documentation for the specific endpoint for required parameters and correct formatting. |
401 Unauthorised | Authentication is required to access the requested resource. Ensure that your API key is correctly included in the request headers. |
403 Forbidden | The client does not have permission to access the requested resource. This may be due to insufficient privileges or an incorrect API key. |
404 Not Found | The requested resource could not be found. Verify the URL and ensure the resource exists. |
405 Method Not Allowed | The requested method is not supported for the requested resource; for example, a DELETE request on a resource that cannot be deleted. |
409 Conflict | The request could not be completed due to a conflict with existing data. This might occur when attempting to create a resource that already exists. |
429 Too Many Requests: | The client has exceeded the rate limit for the API. Implement appropriate retry mechanisms with exponential backoff. |
5xx Server Errors
Status Code | Description |
---|---|
500 Internal Server Error | An unexpected error occurred on the server. If this error persists, please contact us via Fiat Republic Support Portal |
503 Service Unavailable | The server is temporarily unavailable. This may be due to maintenance. |
Troubleshooting
When encountering an error, consult the API documentation for the specific endpoint being used.
Inspecting the response body usually reveals additional error details, for details check Error Handling
If you need any assistance please contact us via Fiat Republic Support Portal.
Updated 8 days ago