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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南