Previous topic

Signature and Authentication

Next topic

Generating signature

Authentication errors

The statusCode in the response will be non-zero should there is an error.

statusCode reason
1 invalid app key
2 invalid signature
3 invalid date
4 key not exists
5 key is unavailable

Important: the value of the date field in the request parameters should be as close as possible to the date of the server you are talking to. If you encounter a statusCode 3, use the timestamp value from the server response to adjust the timestamp value in your request accordingly.