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.

preguntada hace un año340 visualizaciones
2 Respuestas
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
EXPERTO
respondido hace un año
  • 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
EXPERTO
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas