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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ