mgsky1 / DDNS

An implementation of DDNS with Python and Aliyun API 利用Python+阿里云云解析API实现DDNS
Apache License 2.0
267 stars 125 forks source link

HTTP Status: 400 Error:Forbidden.RAM User not authorized to operate on the specified resource #27

Open RownH opened 3 years ago

RownH commented 3 years ago

Traceback (most recent call last): File "DDNS.py", line 45, in result = DDNS(isipv6) File "DDNS.py", line 19, in DDNS recordId = Utils.getRecordId(Utils.getConfigJson().get('Second-level-domain')) File "/root/lmt/DDNS/src/Utils.py", line 38, in getRecordId response = client.do_action_with_exception(request) File "/usr/local/lib/python3.6/site-packages/aliyunsdkcore/client.py", line 467, in do_action_with_exception raise exception aliyunsdkcore.acs_exception.exceptions.ServerException: HTTP Status: 400 Error:Forbidden.RAM User not authorized to operate on the specified resource, or this API doesn't support RAM. RequestID: 8E9039D9-BEEF-40B8-B79C-E722DBB2DA24 执行DDNS时,Utils.getRecordId调用失败,没有权限操作资源