You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GET /api-path
Headers:
Authorization: Bearer <token>
However, this always yields no results due to Internal Server Error when there should be results.
By removing the caching for the method, it works fine.
I am using a custom Token-based lambda authorizer. The token source is "Authorization". Not sure if that makes a difference?
Here's the error I see from X-Ray trace:
Error 403: Execution failed due to configuration error: The request signature we calculated does not match the signature you provided.
Any ideas?
The text was updated successfully, but these errors were encountered:
eggboy0
changed the title
Caching yields no results when adding cache key parameter method.request.Authorization
Internal Server Error when setting cache key parameter request.header.Authorization
May 14, 2022
I have the following in serverless.yml:
GET method that uses Lambda Proxy Integration:
However, this always yields no results due to Internal Server Error when there should be results.
By removing the caching for the method, it works fine.
I am using a custom Token-based lambda authorizer. The token source is "Authorization". Not sure if that makes a difference?
Here's the error I see from X-Ray trace:
Any ideas?
The text was updated successfully, but these errors were encountered: