Errors
There is some possibile errors:

#404

Not Found error. The endpoint is missing or element not found
1
{
2
"status": 404,
3
"errors": [
4
{
5
"code" : 6,
6
"message" : "Not Found"
7
}
8
],
9
"pagination": [],
10
"result": []
11
}
Copied!

#400

Bad Request. Missing some variable in endpoint. Only one error at time
1
{
2
"status": 400,
3
"errors": [
4
{
5
"code" : 1,
6
"message" : "Missing XXX param"
7
},
8
{
9
"code" : 7,
10
"message" : "Wrong XXX param"
11
}
12
],
13
"pagination": [],
14
"result": []
15
}
Copied!

#401

Unauthorized. Your token don't have enough of privileges to access at this endpoint or is suspended/invalid
1
{
2
"status": 401,
3
"errors": [
4
{
5
"code" : 2,
6
"message" : "Token is invalid"
7
},
8
{
9
"code" : 3,
10
"message" : "Token is suspended"
11
},
12
{
13
"code" : 4,
14
"message" : "Token does not have permission"
15
},
16
{
17
"code" : 5,
18
"message" : "Token IP is invalid"
19
}
20
],
21
"pagination": [],
22
"result": []
23
}
Copied!

#429

Too many requests. Your token do too many requests due your plan limitation. Need to wait next hour
1
{
2
"status": 429,
3
"errors": [
4
{
5
"code" : 7,
6
"message" : "Too many requests"
7
}
8
],
9
"pagination": [],
10
"result": []
11
}
Copied!
Copy link