如您使用OpenAPI接入,请参考以下状态码。
HTTP错误码 | eopErrCode | 错误样例 | 错误码描述 |
---|---|---|---|
404 | 10000 | {"code":"10000","eopErrCode":"10000","error_msg":"ctyun-EOP: API Not Found","statusCode":"CTAPI_10000","returnObj":{},"message":"ctyun-EOP: API Not Found"} | 你的url没有匹配一个API |
401 | 10001 | {"code":"10001","eopErrCode":"10001","statusCode":"CTAPI_10001","returnObj":{},"message":"ctyun-EOP: Missing ctyun-eop-ak not found in request","requestId":"123456"} | ctyun-eop-ak未找到 |
401 | 10002 | {"code":"10002","eopErrCode":"10002","statusCode":"CTAPI_10002","returnObj":{},"message":"ctyun-EOP: Invalid APP ID in request","requestId":"123456"} | ctyun-eop-ak不存在eop系统中 |
403 | 10003 | {"code":"10003","eopErrCode":"10003","statusCode":"CTAPI_10003","returnObj":{},"message":"ctyun-EOP: Permission denied","requestId":"123456"} | ctyun-eop-ak未签约该API |
403 | 10004 | {"code":"10004","eopErrCode":"10004","statusCode":"CTAPI_10004","returnObj":{},"message":"ctyun-EOP: Your IP address is not allowed","requestId":"123456"} | IP白名单禁止访问 |
403 | 10005 | {"code":"10005","eopErrCode":"10005","statusCode":"CTAPI_10005","returnObj":{},"message":"ctyun-EOP: Your IP address is not allowed","requestId":"123456"} | IP黑名单禁止访问 |
403 | 10006 | {"code":"10006","eopErrCode":"10006","statusCode":"CTAPI_10006","returnObj":{},"message":"ctyun-EOP: Missing Authorization","requestId":"123456"} | 没有找到认证信息 |
403 | 10007 | {"code":"10007","eopErrCode":"10007","statusCode":"CTAPI_10007","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | ctyun-eop-sk不符合要求 |
403 | 10009 | {"code":"10009","eopErrCode":"10009","statusCode":"CTAPI_10009","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | Eop-Authorization或hmac不符合要求 |
403 | 10012 | {"code":"10012","eopErrCode":"10012","statusCode":"CTAPI_10012","returnObj":{},"message":"ctyun-EOP: agreement flow has reach","requestId":"123456"} | 流控受限 |
403 | 10015 | {"code":"10015","eopErrCode":"10015","statusCode":"CTAPI_10015","returnObj":{},"message":"ctyun-EOP: api fusing by 3 error, fusing by http_status 404","requestId":"123456"} | 触发熔断 |
403 | 10016 | {"code":"10016","eopErrCode":"10016","statusCode":"CTAPI_10016","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | eop-date不符合要求 |
403 | 10017 | {"code":"10017","eopErrCode":"10017","statusCode":"CTAPI_10017","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | Eop-Authorization、eop-date、ctyun-eop-request-id不符合要求 |
403 | 10018 | {"code":"10018","eopErrCode":"10018","statusCode":"CTAPI_10018","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | eop-date已经过期 |
403 | 10019 | {"code":"10019","eopErrCode":"10019","statusCode":"CTAPI_10019","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | Eop-Authorization不符合要求 |
403 | 10020 | {"code":"10020","eopErrCode":"10020","statusCode":"CTAPI_10020","returnObj":{},"message":"ctyun-EOP: signature verification failed","requestId":"123456"} | Eop-Authorization不符合要求 |
502 | 30004 | {"code":"30004","eopErrCode":"30004","statusCode":"CTAPI_30004","returnObj":{},"message":"ctyun-EOP: connect backend failed","requestId":"123456"} | 连不上后端的失败 |
504 | 30005 | {"code":"30005","eopErrCode":"30005","statusCode":"CTAPI_30005","returnObj":{},"message":"ctyun-EOP: backend timeout","requestId":"123456"} | 后端响应超时的失败 |
502 | 30006 | {"code":"30006","eopErrCode":"30006","statusCode":"CTAPI_30006","returnObj":{},"message":"ctyun-EOP: connect timeout","requestId":"123456"} | 后端连接超时的失败 |