response codes
Agent Server REST API response codes
200 - Success
Response Sample (JSON)
{
"code": 200,
"message": "Success"
}1000 - invalid request data
Response Sample (JSON)
{
"code": 1000,
"message": "invalid request data",
"errors": [
{
"msg": "Invalid value",
"param": "x-agent-api-token",
"location": "headers"
}
]
}1001 - not found data. check parameters
Response Sample (JSON)
1002 - agent api access token validate failed
Response Sample (JSON)
1003 - agent service error
Response Sample (JSON)
1100 - internal service error
Response Sample (JSON)
1201 - exist session id
Response Sample (JSON)
1202 - not enough budget
Response Sample (JSON)
1203 - invalid auth token
Response Sample (JSON)
1300 - failed to verify
Response Sample (JSON)
Last updated
Was this helpful?