开发者社区> 问答> 正文

API调用失败

我想调用OPEN API的DescribePrice接口来查询ECS实例的价格,无论我是通过Node.js的SDK调用还是官方的在线工具调用都是失败,请问是我调用问题还是接口失效了呢?
谢谢~

参考文档:
https://help.aliyun.com/document_detail/107829.html?spm=a2c4g.11186623.6.1156.43474666FRx4J1

调用示例:
https://api.aliyun.com/?spm=a2c4g.11186623.2.18.260e263aYiXqiZ#/?product=EHPC&api=DescribePrice&params={"Commodities":{"Commodities.1.NodeType":"","Commodities.1.InstanceType":"","Commodities.1.Amount":"","Commodities.1.Period":"","Commodities.1.NetworkType":"","Commodities.1.SystemDiskCategory":"","Commodities.1.SystemDiskSize":""},"RegionId":"cn-qingdao","PriceUnit":"CNY"}&tab=DEMO&lang=NODEJS

返回错误:
{
     "Recommend" : "https://error-center.aliyun.com/status/search?Keyword=InvalidApi.NotFound&source=PopGw" ,
     "Message" : "Specified api is not found, please check your url and method." ,
     "RequestId" : "094F724E-6035-40CA-ACCF-D0291CAA1465" ,
     "HostId" : "ehpc.cn-qingdao.aliyuncs.com" ,
     "Code" : "InvalidApi.NotFound"
}

展开
收起
亚里士朱德 2019-02-28 14:58:38 2231 0
1 条回答
写回答
取消 提交回答
  • 你检查下key这些是否正确
    2019-02-28 15:13:48
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Spring Boot2.0实战Redis分布式缓存 立即下载
CUDA MATH API 立即下载
API PLAYBOOK 立即下载