HTTP response status codes
For successful requests, Plisio returns HTTP 2XX status codes.
For failed requests, Plisio returns HTTP 4XX or 5XX status codes.
Full list of status codes:
|The request is successful.|
|A POST method created a resource successfully. If the resource was already created by a previous execution of the same method, for example, the server returns the HTTP 200 OK status code.|
The server accepted the request and will execute it later.
|The server successfully executed the method but returned no response body.|
|INVALID_REQUEST. Request is not well-formed, syntactically incorrect, or violates schema.|
|AUTHENTICATION_FAILURE. Authentication failed due to invalid authentication credentials.|
|NOT_AUTHORIZED. Authorization failed due to insufficient permissions.|
|RESOURCE_NOT_FOUND. The specified resource does not exist.|
|METHOD_NOT_SUPPORTED. The server does not implement the requested HTTP method.|
|MEDIA_TYPE_NOT_ACCEPTABLE. The server does not implement the media type that would be acceptable to the client.|
|UNSUPPORTED_MEDIA_TYPE. The server does not support the request payload’s media type.|
UNPROCESSABLE_ENTITY. The API cannot complete the requested action, or the request action is semantically incorrect or fails business validation.
|RATE_LIMIT_REACHED. Too many requests. Blocked due to rate limiting.|
|INTERNAL_SERVER_ERROR. An internal server error has occurred.|
|SERVICE_UNAVAILABLE. Service Unavailable.|