AWS Lambda function REST API end point - 403 error

后端 未结 5 862
不知归路
不知归路 2021-01-04 00:06

I have an AWS Lambda function that is exposed as a REST API.

When it is invoked it via the Test button on aws lambda console, it works.

When it is invoked v

5条回答
  •  半阙折子戏
    2021-01-04 00:23

    Supposedly the Lambda is exposed through an AWS API Gateway. One reason why you'd get 403 on a fresh "no authentication" API Gateway resource is because you haven't yet deployed your changes.

    In API Gateway Console click the Actions dropdown and select Deploy API.

    You should be good to go.

提交回复
热议问题