AWS API Gateway Proxy Missing Authentication Token

Danny Le
Feb 25, 2021

--

When you created an HTTP Proxy API to your root API URL on AWS API Gateway and then you execute Test it still working on the Testdashboard, but it doesn’t work if you use Curl or Browser directly,

How to fix this?

{“message”: “Missing Authentication Token”}

This is my way

Step 1: Create the GET method for the root API URL

Step 2: Add the root API URL to the proxy like that:

Step 3: Add new child resource same with your API paths,
example: <your-api-domain>/protected

Step 4: Define other paths with the proxy+ method into your API Gateway

Don’t forget to Enable API Gateway CORS for all the child resources.

Step 5: Enjoin to re-deploy your API.

--

--

Danny Le
Danny Le

No responses yet