User: anonymous is not authorized to perform: execute-api:Invoke

0

Why can i have this problem? {"Message":"User: anonymous is not authorized to perform: execute-api:Invoke on resource: arn:aws:execute-api:us-east-2:********} im trying to invoke lambda using apigtw as a trigger?

Oksana
已提问 4 个月前317 查看次数
2 回答
1
已接受的回答

Hi,
You need to check your api gateway resource policy[1]: select API ->Resource policy.
Note: you need to redeploy your apigateway after modifing your resource policy.
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-resource-policies.html

profile picture
已回答 4 个月前
0

Thank you!

Oksana
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则