首页 > 解决方案 > "You are not authorized to access this operation"

问题描述

Using the aws ask utility program from the alexa skills kit, I am trying to deploy my skill to alexa. With a new account, I've added the key and secret key. I've given my account full admin rights from the dashboard. The web browser auth steps confirms that my login was successful but the console reports 401 - "call list-vendors error" : "You are not authorized to access this operation." with no further instruction.

I am not using a proxy or a VPN either.

标签: amazon-web-servicesaws-clialexaalexa-skills-kit

解决方案


我得到了同样的错误,因为我有多个配置文件是 ask-cli。它正在挑选 default具有不同 Amazon.com 帐户的个人资料。我使用--profile标志来使用特定的配置文件:

ask clone --profile myProfileName --skill-id 'amzn1.ask.skill.******-****-****-****-*********' --debug

也使用debug标志会告诉确切的错误。


推荐阅读