AWS SageMaker - How to fix "The request signature we calculated does not match the signature you provided" #2625
Unanswered
naveen-marthala
asked this question in
Help
Replies: 1 comment
-
Hi, this thread is over 2 years old, but I have recently come across the same issue as yours and figured out the problem was an incorrect In your case, the
Hope this helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a sagemaker endpoint, which works as expected from boto3's sagemaker-session's invoke-endpoint, aws-cli. And to invoke it from my app, I have created an user with only permission to invoke this specific endpoint and it worked as expected from Postman, when I have specified credentials in Authorisation tab. And when I try to invoke it with requests(python's builting package for http requests), I get signature matching error. Please help me fix it.
Here's how I have tried to send http post request to AWS SageMaker to invoke my endpoint, with help from this aws-blog:
and this got printed, throwing me the signature mismatch error.
So, What have I missed and how do I fix this signature mis-match error.
And, I can't use boto3 or any additional python library apart from the builtin python libraries available with a Debian 10 installation.
Beta Was this translation helpful? Give feedback.
All reactions