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 Antworten
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
EXPERTE
beantwortet vor einem Jahr
  • 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
EXPERTE
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen