GCCBTAPI常见错误信息
发布时间:2017-07-14
最近刷新时间:2017-07-14
无效Token
{
"error_code": "invalid_token",
"error_description": "Invalid token",
"errorMessage": {
"error": [
{
"errorId": 1001,
"domain": "OAuth",
"category": "REQUEST",
"message": "Invalid token",
"longMessage": "Invalid token",
"actionToTake": "CORRECTINPUTDATA"
},
]
},
"extension": []
}
Token过期
{
"error_code": "invalid_token",
"error_description": "Invalid token: Token expired",
"errorMessage": {
"error": [
{
"errorId": 1001,
"domain": "OAuth",
"category": "REQUEST",
"message": "Invalid token: Token expired",
"longMessage": "Invalid token: Token expired",
"actionToTake": "CORRECTINPUTDATA"
}
]
},
"extension": []
}
请求头中没有Token
{
"error_code": "missing_token",
"error_description": "Bearer token is missing in authorization header. Should be under name 'Authorization'",
"errorMessage": {
"error": [
{
""errorId": 1002,
""domain": "OAuth",
""category": "REQUEST",
""message": "Bearer token is missing in authorization header. Should be under name 'Authorization'",
""longMessage": "Bearer token is missing in authorization header. Should be under name 'Authorization'",
""actionToTake": "CORRECTINPUTDATA"
}
]
},
"extension": []
}
Token中Scope不对
{
"errorMessage": {
"error": [
{
"errorId": 11,
"domain": "Security",
"category": "REQUEST",
"message": "The request is denied!",
"longMessage": "The caller does not have sufficient permissions to fulfill the request!"
}
]
}
}
超出访问量限制
{
"errorMessage": {
"error": [
{
"errorId": 429,
"domain": "ebay",
"subDomain": "kernal",
"severity": "Error",
"category": "Request",
"message": "User requests to view this page are subject to daily per user limits.",
"longMessage": "You have exceeded the daily limit so access for this individual function will be denied for the rest of the day. Please try later.",
"actionToTake": "Retry"
}
]
}
}