阿里云使用API可以進行哪些操作
阿里云 oss提供了哪些api接口
阿里云調用 API 服務后返回什么結果
返回結果
調用 API 服務后返回數據采用統一格式,返回的 HTTP 狀態碼為 2xx,代表調用成功;返回 4xx 或 5xx 的 HTTP 狀態碼代表調用失敗。調用成功返回的數據格式主要有 XML 和 JSON 兩種,外部系統可以在請求時傳入參數來制定返回的數據格式,默認為 XML 格式。本文檔中的返回示例為了便于用戶查看,做了格式化處理,實際返回結果是沒有進行換行、縮進等處理的。
成功結果:
錯誤結果
調用接口出錯后,將不會返回結果數據。調用方可根據每個接口對應的錯誤碼以及下述 2.3.3 的公共錯誤碼來定位錯誤原因。當調用出錯時,HTTP 請求返回一個 4xx 或 5xx 的 HTTP 狀態碼。返回的消息體中是具體的錯誤代碼及錯誤信息。另外還包含一個全局唯一的請求 ID:RequestId 和一個您該次請求訪問的站點 ID:HostId。在調用方找不到錯誤原因時,可以聯系阿里云客服,并提供該 HostId 和 RequestId,以便我們盡快幫您解決問題。
公共錯誤碼
錯誤代碼
描述
Http 狀態碼
語義
MissingParameter The input parameter “Action” that is mandatory for processing this request is not supplied 400 缺少 Action 字段
MissingParameter The input parameter “AccessKeyId” that is mandatory for processing this request is not supplied 400 缺少 AccessKeyId 字段
MissingParameter An input parameter “Signature” that is mandatory for processing the request is not supplied. 400 缺少 Signature 字段
MissingParameter The input parameter “TimeStamp” that is mandatory for processing this request is not supplied 400 缺少 Timestamp 字段
MissingParameter The input parameter “Version” that is mandatory for processing this request is not supplied 400 缺少 Version 字段
InvalidParameter The specified parameter “Action or Version” is not valid. 400 無效的 Action 值(該 API 不存在)
InvalidAccessKeyId.NotFound The Access Key ID provided does not exist in our records. 400 無效的 AccessKeyId 值(該 key 不存在)
Forbidden.AccessKeyDisabled The Access Key is disabled. 403 該 AccessKey 處于禁用狀態
IncompleteSignature The request signature does not conform to Aliyun standards. 400 無效的 Signature 取值(簽名結果錯誤)
InvalidParamater The specified parameter “SignatureMethod” is not valid. 400 無效的 SignatureMethod 取值
InvalidParamater The specified parameter “SignatureVersion” is not valid. 400 無效的 SignatureVersion 取值
IllegalTimestamp The input parameter “Timestamp” that is mandatory for processing this request is not supplied. 400 無效的 Timestamp 取值(Timestamp 與服務器時間相差超過了 1 個小時)
SignatureNonceUd The request signature nonce has been ud. 400 無效的 SignatureNonce(該 SignatureNonce 值已被使用過)
InvalidParameter The specified parameter “Action or Version” is not valid. 400 無效的 Version 取值
InvalidOwnerId The specified OwnerId is not valid. 400 無效的 OwnerId 取值
InvalidOwnerAccount The specified OwnerAccount is not valid. 400 無效的 OwnerAccount 取值
InvalidOwner OwnerId and OwnerAccount can’t be ud at one API access. 400 同時使用了 OwnerId 和 OwnerAccount
Throttling Request was denied due to request throttling. 400 因系統流控拒絕訪問
Throttling Request was denied due to request throttling. 400 該 key 的調用 quota 已用完
InvalidAction Specified action is not valid. 403 該 key 無權調用該 API
UnsupportedHTTPMethod This http method is not supported. 403 用戶使用了不支持的 Http Method(當前 TOP 只支持 post 和 get)
ServiceUnavailable The request has failed due to a temporary failure of the rver. 500 服務不可用
UnsupportedParameter The parameter ”” is not supported. 400 使用了無效的參數
InternalError The request processing has failed due to some unknown error, exception or failure. 500 其他情況
MissingParameter The input parameter OwnerId,OwnerAccount that is mandatory for processing this request is not supplied. 403 調用該接口沒有指定 OwnerId
Forbidden.SubUr The specified action is not available for you。 403 無權調用訂單類接口
UnsupportedParameter The parameter ”” is not supported. 400 該參數無權使用
Forbidden.InstanceNotFound The specified Instance is not found, so we cann’t get enough information to check permission in RAM. 404 使用了 RAM 授權子賬號進行資源訪問,但是本次訪問涉及到的 Instance 不存在
Forbidden.DiskNotFound The specified Disk is not found, so we cann’t get enough information to check permission in RAM. 404 使用了 RAM 授權子賬號進行資源訪問,但是本次訪問涉及到的 Disk 不存在
Forbidden.SecurityGroupNotFound The specified SecurityGroup is not found, so we cann’t get enough information to check permission in RAM. 404 使用了 RAM 授權子賬號進行資源訪問,但是本次訪問涉及到的 SecurityGroup 不存在
Forbidden.SnapshotNotFound The specified Snapshot is not found, so we cann’t get enough information to check permission in RAM. 404 使用了 RAM 授權子賬號進行資源訪問,但是本次訪問涉及到的 Snapshot 不存在
Forbidden.ImageNotFound The specified Image is not found, so we cann’t get enough information to check permission in RAM. 404 使用了 RAM 授權子賬號進行資源訪問,但是本次訪問涉及到的 Image 不存在
Forbidden.RAM Ur not authorized to operate the specified resource, or this API doesn’t support RAM. 403 使用了 RAM 授權子賬號進行資源訪問,但是本次操作沒有被正確的授權
Forbidden.NotSupportRAM This action does not support accesd by RAM mode. 403 該接口不允許使用 RAM 方式進行訪問
InsufficientBalance Your account does not have enough balance. 400 余額不足
IdempotentParameterMismatch Request us a client token in a previous request but is not identical to that request. 400 使用了一個已經使用過的 ClientToken,但此次請求內容卻又與上一次使用該 Token 的 request 不一樣.
RealNameAuthenticationError Your account has not pasd the real-name authentication yet. 403 用戶未進行實名認證
InvalidIdempotenceParameter.Mismatch The specified parameters are different from before 403 冪等參數不匹配
LastTokenProcessing The last token request is processing 403 上一次請求還在處理中
InvalidParameter The specified parameter is not valid 400 參數校驗失敗
阿里云服務器ecs怎么創建api接口
阿里云API有哪些
本文發布于:2023-02-28 19:22:00,感謝您對本站的認可!
本文鏈接:http://www.newhan.cn/zhishi/a/167761164858477.html
版權聲明:本站內容均來自互聯網,僅供演示用,請勿用于商業和其他非法用途。如果侵犯了您的權益請與我們聯系,我們將在24小時內刪除。
本文word下載地址:阿里云api接口(阿里云api接口使用).doc
本文 PDF 下載地址:阿里云api接口(阿里云api接口使用).pdf
| 留言與評論(共有 0 條評論) |