Getting a ‘Missing Authentication Token’ Error with AWS API Gateway

0
3
Asked By CleverPineapple42 On

I'm trying to connect Trello to AWS API Gateway to trigger Lambda functions based on user actions. It was all working fine until I decided to rename my webhook, which was originally called 'My first webhook'. Since then, I've been getting a 'Missing Authentication Token' error whenever I try to invoke the Lambda function, even when using the link provided by AWS.

Here's what I've done so far:
- Remade the API method and stage, then redeployed several times.
- Tested my curl execution using webhook.site, which works perfectly.
- Verified that the deployment in AWS API Gateway was successful.
- Removed all authentication parameters and API keys that might interfere with the API call.
- Created a new policy for the API Gateway to execute the Lambda function, although I removed it afterward since it wasn't necessary before.

Does anyone have suggestions on why this error might be occurring?

1 Answer

Answered By TechWizard99 On

It sounds like you might be hitting a path or method that doesn’t exist anymore after the change. Double-check the endpoint you’re invoking to ensure there are no typos, especially after renaming your webhook.

CuriousDebugger -

Thanks for the tip! I usually just copy the link from the AWS dashboard, but I'll go over everything again just to be sure. It's strange because it only works when I test it directly in API Gateway.

CodeMaster88 -

I had a similar situation where I spent hours fixing a typo in my path. Definitely check the link closely—it can be really frustrating when it's just a small mistake.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.