Errors

The server may return JSON with errors:

{"error":<code>}
Error code Description
0 Successful operation (for example for logout it will be success exit)
1 Invalid session
2 Invalid service name
3 Invalid result
4 Invalid input
5 Error performing request
6 Unknown error
7 Access denied
8 Invalid user name or password
9 Authorization server is unavailable
1001 No messages for selected interval
1002 Item with such unique property already exists
1003 Only one request is allowed at the moment