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
I am using the aws4-axios interceptor to be able to call cache invalidation in API Gateway from a lambda. I have the following configuration:
constinterceptor=aws4Interceptor({options: {signQuery: true,// Use query string signing to avoid clash with the Authorization headerregion: process.env.AWS_REGION,service: 'execute-api',},});
As stated in the comment in the code snippet, I need to use signedQuery in order to be able to make the signed call, because the API Gateway call has a required Authorization header. When I do this however, I get the following error:
Cannot set properties of undefined (setting 'X-Amz-Security-Token').
Did I miss anything in my config or is this a bug maybe?
The text was updated successfully, but these errors were encountered:
I am using the aws4-axios interceptor to be able to call cache invalidation in API Gateway from a lambda. I have the following configuration:
As stated in the comment in the code snippet, I need to use signedQuery in order to be able to make the signed call, because the API Gateway call has a required Authorization header. When I do this however, I get the following error:
Cannot set properties of undefined (setting 'X-Amz-Security-Token').
Did I miss anything in my config or is this a bug maybe?
The text was updated successfully, but these errors were encountered: