Closed bala-drg closed 4 years ago
@bala-drg Did you find any resolution to this? I'm having the same issue and it seems to have happened quite suddenly.
I found a fix that worked for me. You have to add body to the request and make it a string of the data object.
example:
request.body = JSON.stringify(request.data);
Put that before the aws4.sign method and it works. The problem is due to how Axios uses data rather than body.
Closing as an issue with axios, not this library
i'm getting AWS signature mismatch when i send request to API Gateway using axios