Response Code

Liquid Platform uses conventional HTTP status codes to indicate the success or failure of an API request.

HTTP Status Code

Refer to table below for description of HTTP status codes

Status Code Description Case
200 Ok Successful case
400 Bad Request Request unacceptable

E.g. Invalid parameters

401 Unauthorised Not authorised to access

E.g. Accessing retricted data without proper permission

402 Request Failed Request failed to processed

E.g. Valid parameter sent but the request cannot be processed at the moment

404 Not Found Resource not found

E.g. Either URI or requested data cannot be found

500 Internal Server Error Request cannot be processed at the moment

E.g. An exception case happened over server side