尝试访问自定义域时出现403禁止访问。

0

【以下的问题经过翻译处理】 尝试访问自定义域时,API Gateway REST 响应代码为 403。 已设置 API 映射。 在尝试直接调用 API 时出现以下提示:

{ "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" }

profile picture
专家
已提问 5 个月前17 查看次数
1 回答
0

【以下的回答经过翻译处理】 您好, 403禁止“anonymous is not authorized to perform: execute-api:Invoke on resource:”错误通常发生在调用者未被授权访问正在使用IAM授权的API, 或API附加有资源策略且该策略未明确允许调用者调用API时。 要了解更多有关解决API Gateway 403错误的信息,请访问链接[1]。此外,为了进一步调查此问题,我们需要更多详细信息。我建议使用以下链接[2]使用AWS高级支持开启支持案例。

参考: [1] 解决403错误 - https://aws.amazon.com/premiumsupport/knowledge-center/api-gateway-troubleshoot-403-forbidden/ [2] 创建支持案例 https://console.aws.amazon.com/support/home#/case/create

profile picture
专家
已回答 5 个月前

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

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

回答问题的准则