When you handling an API request all answers start by parameter "status".

If any errors occur when handling an API request, the response will follow this format:

{ "status": 0, "error": "error message describing problem goes here"}

Any response that contains the 'error' field should be considered unsuccessful for the reason given. Note that HTTP errors may also be thrown depending on the issue.

 There are two types of API errors when you handling an API request:

1.   Common errors (main errors such as “Invalid Sign” etc)

2.   Method errors (errors that generate if something going wrong when you processing a particular API request). These errors will be described individually in each method

Did this answer your question?