Comments (6)
@Explorer1092
您好,感谢您的反馈
我们已经发布了新版的aliyuncli,建议您使用新版
https://help.aliyun.com/document_detail/66653.html
from aliyun-openapi-python-sdk.
@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.
@Explorer1092
查一下ROS的API文档,应该会有写API的域名
然后这样调用
aliyun ros GET /stacks --endpoint=xxx.aliyuncs.com
猜测有可能会是ros.aliyuncs.com
from aliyun-openapi-python-sdk.
提示缺少 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.
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.
@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)
- pip install aliyun-python-sdk-core-v3==2.11.4 error HOT 1
- SDK Support for DescribeAgentInstallStatus() function
- Could you please bump `jmespath` to some newer version? HOT 1
- aliyun-sdk-core doesn't work with crpythongraphy
- aliyun-python-sdk-core apsara protocol type bug HOT 1
- 我是Python3 安装 缺少 [v20180510] HOT 5
- 云监控 DescribeMetricListRequest 接口超时 HOT 1
- asfdf
- code example运行出错
- Project dependencies. HOT 2
- InvalidNetworkType when executing codes generated from "Preview -> View Open API" HOT 1
- CVE for included urllib3 HOT 3
- Can't override default region for DescribeDBInstancesRequest
- Vendored six package is incompatible with Python 3.12.
- Update aliyun-python-sdk-core.vendored.requests: 'cgi' is deprecated and slated for removal in Python 3.13 HOT 3
- Concerns about new get_uuid() implementation in aliyun-python-sdk-core 2.14.0 HOT 3
- aliyun-python-sdk-core can not install HOT 2
- python3.12 support HOT 6
- Protecode security issue on aliyun-python-sdk-core dependency HOT 1
- python3.12环境,aliyun-python-sdk-core(2.14.0)报错:ModuleNotFoundError,请求支持!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aliyun-openapi-python-sdk.