Status Codes

The Fiat Republic API uses standard HTTP response codes.

  • A 2xx is any successful response.
  • A 4xx indicates an error with the data provided in the request. Some of these errors can be handled programmatically by your application. See Errors.
  • A 5xx error usually means an error on our platform

2xx Success

Status Code

Description

200 OK

The request was successful.

201 Created

The request was successful and the new resource was created.

202 Accepted

The request was accepted, but the processing has not yet been completed.

204 No Content

The request was successfully processed, and is not returning any content (e.g. DELETE requests).

4xx Client Errors

Status Code

Description

400 Bad Request

The request could not be processed due to an apparent client error (e.g. malformed request syntax).

401 Unauthorised

The API credentials were invalid.

404 Not Found

The requested resource could not be found.

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 conflicts with another request. e.g. when attempting to create a duplicate resource.

5xx Server Errors

Status Code

Description

500 Internal Server Error

There was an issue on our platform which we will resolve.


Did this page help you?