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 CodeDescription
200 OKThe request was successful. The response body contains the requested data.
201 CreatedA new resource was successfully created. The response body typically contains the newly created resource.
202 AcceptedThe 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 ContentThe request was successful, but there is no content to return in the response body. (e.g. DELETE requests).

4xx Client Errors

Status CodeDescription
400 Bad RequestThe request was malformed or contains invalid parameters. Refer to the API documentation for the specific endpoint for required parameters and correct formatting.
401 UnauthorisedAuthentication is required to access the requested resource. Ensure that your API key is correctly included in the request headers.
403 ForbiddenThe client does not have permission to access the requested resource. This may be due to insufficient privileges or an incorrect API key.
404 Not FoundThe requested resource could not be found. Verify the URL and ensure the resource exists.
405 Method Not AllowedThe requested method is not supported for the requested resource; for example, a DELETE request on a resource that cannot be deleted.
409 ConflictThe 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 CodeDescription
500 Internal Server ErrorAn unexpected error occurred on the server. If this error persists, please contact us via Fiat Republic Support Portal
503 Service UnavailableThe 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.