Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Authentication Token #7

Open
puhach opened this issue Oct 6, 2019 · 1 comment
Open

Missing Authentication Token #7

puhach opened this issue Oct 6, 2019 · 1 comment

Comments

@puhach
Copy link

puhach commented Oct 6, 2019

According to the guidelines I created an HTTP endpoint via API Gateway. The url I use is highlighted next to the text Invoke URL. When opened in the browser it displays the following:

{"message":"Missing Authentication Token"}

When used in the web app (simple index.html from the tutorial), nothing happens.

@jpangas
Copy link

jpangas commented Jun 2, 2022

I have experienced an issue similar to yours in the past. This happened for two reasons however the most common is not including the resource in the URL.

For example:Supposedly the resource with the method you are using is called my resource.
If the api generated using api gateway is: https://www.apiimade/dev. Then the url should be https://www.apiimade/dev/myfolder.

Incase this does not work, then the reason may be:
The API request isn't signed when the API method has AWS Identity and Access Management (IAM) authentication turned on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants