KDDIクラウドプラットフォームサービス ナレッジサイト

  • HOME
  • 開発者ガイドブック(APIリファレンス)
  • Premium/Value/Flexible
  • APIレスポンスエラー一覧

APIレスポンスエラー一覧

条件 APIレスポンス
errorcode cserrorcode errortext
APIKey不正 401 unable to verify user credentials and/or request signature
APIコマンド不正 or Keyなし 403 Forbidden
コマンドなし クライアント依存  例:kick_api.sh の場合usage: ./kick_api.sh command=… paramter=… parameter=…
引数不正 300 400 [distributiongroup] Given distribution group is not supported
引数不正 431 9999 Unable to execute API command listtemplates due to missing parameter templatefilter
引数不正 431 9999 No enum const class com.cloud.template.VirtualMachineTemplate$TemplateFilter.sels
引数不正 431 4350 Invalid schedule: … for interval type: …
引数不正 431 4350 No value is passed in for key….
引数不正 431 9999 Unable to execute API command …..due to invalid value…..for parameter….
引数不正 431 4350 Unsupported interval type…
引数不正 431 9999 Unable to execute API command  …….due to invalid value. Value greater than max allowed length 255 for param:…..
引数不正 431 9999 No enum const class com.cloud.template.VirtualMachineTemplate$TemplateFilter.public
引数不正 431 9999

Unable to execute API command …..due to invalid value. Invalid parameter ……….due to incorrect long value format,

or entity does not exist or due to incorrect parameter annotation for the field in api cmd class

引数不正 431 4350 Please specify a valid resource type
引数不正 431 4350 Protocol IMCP is not supported in zone 1
引数不正 431 4350 Unable to find volume by id=null
引数不正 500 Please specify in the 10GB unit disk size.
引数不正 530 4250 Internal error executing command, please contact your system administrator
引数不正 531  4365 Parameter….. can only be specified by a Root Admin, permission denied
 URL不正 タイムアウト

エラー発生時はAPIエラー発生時切り分けフローをご参照ください。
※切り分けフローはkick_api.shの使用を前提としています。kick_api.shの使用方法はこちらをご確認ください。

 

エラー発生例

■deployPremiumVirtualMachineでホスト名指定を誤った場合■

正:jp2-west01-Losv-000031
誤:kp2-west01-Losv-000031(jをkとタイプミス)

 

★コマンド
$ ./kick_api.sh command=deployPremiumVirtualMachine name=test hypervisor=VMware zoneid=805c4b2c-1b62-4cc8-a3b3-eadd4076ecee templateid=5c058dc5-90d2-4e4f-9afa-f3c54b9d5772 serviceofferingid=6a307609-3114-48a2-bd67-3384e4935fe0 hostname=kp2-west01-Losv-000031 iptonetworklist[0].networkid=cc8719a3-1336-49ae-be6e-95fe42d3afe3

 

★実行結果
———————————————————————————————–

$ ./kick_api.sh command=deployPremiumVirtualMachine name=test hypervisor=VMware zoneid=805c4b2c-1b62-4cc8-a3b3-eadd4076ecee templateid=5c058dc5-90d2-4e4f-9afa-f3c54b9d5772 serviceofferingid=6a307609-3114-48a2-bd67-3384e4935fe0 hostname=kp2-west01-Losv-000031 iptonetworklist[0].networkid=cc8719a3-1336-49ae-be6e-95fe42d3afe3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
149 299 0 299 0 0 368 0 –:–:– –:–:– –:–:– 428
<?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?> <deploypremiumvirtualmachineresponse cloud-stack-version=”4.3.0.2″>
<cserrorcode>400</cserrorcode>
<errorcode>500</errorcode>
<errortext>The Host you specified could not be found.</errortext> </deploypremiumvirtualmachineresponse>
$

———————————————————————————————–

2024/03/28 2024/03/28