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 Risposte
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
ESPERTO
con risposta un anno fa
  • 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
ESPERTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande