getting message: forbidden reply from AWS API gateway

前端 未结 20 1070
鱼传尺愫
鱼传尺愫 2020-11-30 04:34

I am trying to create a lambda service on AWS and have it accessed from outside via the API gateway with no authentication or restriction required.

To make things ea

20条回答
  •  时光取名叫无心
    2020-11-30 05:06

    I had a similar problem, and I had the following:

    1. A Custom Domain (Edge Optimized)
    2. Multiple Stages (dev, staging, prod)

    I also didn't set any Authorization nor restrictions to make things simple.

    I was able to fix the problem by adding Base Path Mappings for each of my stages (dev, staging, prod).

提交回复
热议问题