403 Forbidden when try to access the custom domain

0

{ "message": "Forbidden" }

When trying to access a custom domain, the API Gateway REST response code is 403. The API Mapping has been set up. The following notice appears while attempting a direct API call:

{ "Message": "User: anonymous is not authorized to perform: execute-api:Invoke on resource: arn:aws:execute-api:us-east-1:************:xxxxxxxxxx/dev/POST/v1/notification" }

1 個回答
1
已接受的答案

Hi 403 Forbidden “anonymous is not authorized to perform: execute-api:Invoke on resource:” errors usually occur when the caller isn't authorized to access an API that's using IAM authorization. Or, the API has an attached resource policy that doesn't explicitly allow the caller to invoke the API.

To learn more about troubleshooting API Gateway 403 error visit link [1] That said, to further investigation this issue we’d require additional details. I recommend opening a support case with AWS Premium Support using the following link[2]

Reference: [1] Troubleshooting 403 errors - https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-troubleshoot-403-forbidden/ [2] Create Support Case https://console.aws.amazon.com/support/home#/case/create.

AWS
已回答 1 年前

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

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

回答問題指南