Switch to dark theme

Switch to light theme

Error Codes and Handling


Fusion APIs return standard error codes when an API operation fails to process a request payload. In such scenarios, error codes and their corresponding HTTP status codes help you troubleshoot the issue.

The sample error response below shows the HTTP response body structure that is returned in case of error:

Sample Error Response
Switch Theme
Expand More
Copy
HTTP Response Body:
{
“error”: 
  {
  “code”: AE4018
  “message”: Mandatory input parameter is missing
  “attributes”: {
    "id": "should is missing",
    "email": "invalid email"
    } 
  }
}
Code Copied

Error codes

The following table lists the possible error codes returned on Fusion platform:

Error CodeHTTP Status CodeError Code Description
FU4000400Bad Request
Server was unable to process the client request due to invalid syntax.
FU4001401Unauthorised
Client does not have valid authentication credentials (username, password, auth token) for the accessing the resource on the server.
FU4003403Forbidden
Page or resource you are trying to access is forbidden.
FU4004404Not Found
Page you are trying to access could not be found on the server as it might have been deleted or moved to a different location.
FU4005405Method Not Allowed
Server has rejected the method for the accessing the requested resource.
FU4008408Request Timeout
Due to incorrect URI specified in the request, the page takes longer time to load.
FU4009409Conflict
When the client is trying to upload the same file as in the server, then this results in version control conflict.
FU4010410Gone
Resource in the server is permanently deleted.
FU4012412Precondition Failed
Precondition given in one or more of the header fields is evaluated to false when it is tested on the server.
FU4013413Payload Too Large
Request payload is too large for the server to accept and process it.
FU4014414URI Too Long
URI in the request is too long for the server to accept and process it.
FU4015415Unsupported Media Type
Format of the requested resource is not supported by the server.
FU4017417Expectation Failed
Expect header field could not be met by the server.
FU4029429Too Many Requests
Client has sent too many API requests to the server.
FU4051451Unavailable For Legal Reasons
Client requests a resource that cannot be served for legal reasons.
FU5000500Internal Server Error
Server has some issue.
FU5001501Not Implemented
Server cannot implement the request. This error needs to be resolved by the administrator on the server end.
FU5002502Bad Gateway
Server act as a gateway or proxy for an upstream server. This error implies that the server received an invalid response from the upstream server due to which it cannot process the client request.
FU5003503Service Unavailable
Server is overloaded with client requests. There might be a downtime on the server due to which it is unavailable.
FU5004504Gateway Timeout
Server act as a gateway or proxy for an upstream server. This error implies that the server did not receive a timely response from the upstream server due to which it cannot process the client request.