Errors

There is some possibile errors:

#404

Not Found error. The endpoint is missing or element not found

{
	"status": 404,
	"errors": [
		{
			"code" : 6,
			"message" : "Not Found"
		}
	],
  	"pagination": [],
  	"result": []
}

#400

Bad Request. Missing some variable in endpoint. Only one error at time

{
	"status": 400,
	"errors": [
		{
			"code" : 1,
			"message" : "Missing XXX param"
		},
		{
			"code" : 7,
			"message" : "Wrong XXX param"
		}
	],
  	"pagination": [],
  	"result": []
}

#401

Unauthorized. Your token don't have enough of privileges to access at this endpoint or is suspended/invalid

{
	"status": 401,
	"errors": [
		{
			"code" : 2,
			"message" : "Token is invalid"
		},
		{
			"code" : 3,
			"message" : "Token is suspended"
		},
		{
			"code" : 4,
			"message" : "Token does not have permission"
		},
		{
			"code" : 5,
			"message" : "Token IP is invalid"
		}
	],
  	"pagination": [],
  	"result": []
}

#429

Too many requests. Your token do too many requests due your plan limitation. Need to wait next hour

{
	"status": 429,
	"errors": [
		{
			"code" : 7,
			"message" : "Too many requests"
		}
	],
  	"pagination": [],
  	"result": []
}

Last updated