-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Custom authorizer errors on deployment #3205
Comments
Hey @BarakChamo thanks for opening. Could you maybe provide the solution for your problem so that others who stumble upon this issue can see how it can be resolved? Thanks! 👍 |
This is usually related to requesting a URL that doesn't exist. Please make sure you're using the correct HTTP method and resource path to a valid resource (the sample invoke URL does not include any resource path). Also, make sure you remember to deploy before testing. |
As @jorgecar mentioned this happens when URL does not exist. If you are adding resources to API Gateway then do not forget to deploy those APIs. |
Can we pass a custom error instead of this error I am looking to pass a generic error like: Is it possible? |
This is a Bug Report
Description
API Gateway seems to not accept auth tokens correctly when configured
with a custom authorizer, for all I could find the request doesn't event hit
the authorized and is being rejected by API Gateway.
when configured like this:
API Gateway responds with the following:
And when configured like this:
The error is:
Additional Data
Thanks!
The text was updated successfully, but these errors were encountered: