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?

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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠