Accessing API function from Lambda java container through API gateway results at 403 forbidden error

0

Hosted my Java based container over Lambda function and trying to access the API through API gateway which results in 403 forbidden error.

2 回答
1

Hi,

The API Gateway APIs can return 403 responses for multiple reasons, so I recommend that you take a look at the following Knowledge Center post to identify what's causing the error, and apply the most appropriate solution.

profile picture
专家
已回答 1 年前
  • Getting x-amzn-ErrorType: ForbiddenException as Error type and followed the resolution guide still no luck.

0

Do you have authorizers? Gave you checked resource policies?

If you do have check this https://repost.aws/knowledge-center/api-gateway-403-error-lambda-authorizer

profile picture
专家
已回答 1 年前

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

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

回答问题的准则