256815 (2) [Avatar] Offline
#1
I can invoke test [restaurants - GET - Method Execution] in AWS console successfully. But when using SLS and click on the endpoint I get the following. ({"message":"Missing Authentication Token"}.
Yan Cui (65) [Avatar] Offline
#2
Usually that error means you're trying to hit an endpoint that doesn't exist, which could be that you're hitting a POST endpoint with a GET (by opening up in the browser for example). Or, it could be that you're hitting an authenticated endpoint (if it's the GET restaurants then the endpoint is protected by AWS_IAM so the GET request would need to be signed, which the test does already, and you can do that with Postman as well).