Error Status Codes
If server returns error, it will give you http status code and response message as Json. Format for JSON is:
{"result": "<Error Message>"}
Http Status Codes
Http Code | Description |
---|---|
400 | Bad Request, Request made to server was incorrectly formated |
401 | Unauhorized. Request did not contain proper ApiKey |
404 | Not Found. Request contained information which was not found by server to fullfill request |
503 | Service Unavailable. Server's internal communication failure |
Error Messages
Error Message | Description |
---|---|
InvalidJSON | Json used in request was not valid |
RidNotFound | RID used in request was not connected |
HandshakeFailure | WebSocket handshake was unsuccesful |
MessageLost | Message received by RestApi was lost, delivery to client cannot be guaranteed |
NoRoute | Message received by RestApi was not able to deliver to client |
MalformedRequest | Request received by RestApi was not properly formatted |
UriNotFound | Request to URI which was made is not existing |
MethodNotAllowed | Http method which was used to acces URI is not allowed |
DeliveryFailure | Message received by RestApi was not able to deliver to client |
UnAuthorized | Apikey which was used was not accepted |