Giter Club home page Giter Club logo

Comments (6)

gaort avatar gaort commented on July 20, 2024

@Explorer1092
您好,感谢您的反馈
我们已经发布了新版的aliyuncli,建议您使用新版
https://help.aliyun.com/document_detail/66653.html

from aliyun-openapi-python-sdk.

Explorer1092 avatar Explorer1092 commented on July 20, 2024

@gaort 新版仍然有问题

localhost:dev kevin$ aliyun ros GET /stacks
ERROR: [SDK.CanNotResolveEndpoint] Can not resolve endpoint(param = {"Domain":"","Product":"","RegionId":"cn-hangzhou","LocationProduct":"","LocationEndpointType":""}), please check the user guide

from aliyun-openapi-python-sdk.

gaort avatar gaort commented on July 20, 2024

@Explorer1092
查一下ROS的API文档,应该会有写API的域名
然后这样调用
aliyun ros GET /stacks --endpoint=xxx.aliyuncs.com

猜测有可能会是ros.aliyuncs.com

from aliyun-openapi-python-sdk.

Explorer1092 avatar Explorer1092 commented on July 20, 2024

提示缺少 x-acs-region-id

localhost:dev kevin$ aliyun ros GET /stacks --endpoint=ros.aliyuncs.com --RegionId=hangzhou
ERROR: SDK.ServerError 400 Bad Request {"Message": "x-acs-region-id is required.", "Code": "RegionIdRequired"}
如何这header里设置 x-acs-region-id?

https://help.aliyun.com/document_detail/28904.html?spm=a2c4g.11186623.6.573.ui9gAB

from aliyun-openapi-python-sdk.

Explorer1092 avatar Explorer1092 commented on July 20, 2024

localhost:dev kevin$ aliyun ros GET /stacks --endpoint=ros.aliyuncs.com --region=hangzhou
ERROR: SDK.ServerError 400 Bad Request {"Message": "x-acs-region-id is required.", "Code": "RegionIdRequired"}

from aliyun-openapi-python-sdk.

gaort avatar gaort commented on July 20, 2024

@Explorer1092
感谢您的反馈,这个有可能是我们的bug,我们会仔细研究下
目前有一个workaround:
aliyun ros GET /stacks --endpoint=ros.aliyuncs.com --RegionId=hangzhou1 --header x-acs-region-id=cn-hangzhou

from aliyun-openapi-python-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.