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 Answers
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
EXPERT
answered 10 months ago
  • 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
EXPERT
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions