PUT request : Signature Does Not Match
Hi all !
I'm having an issue when creating a post request and i don't understand how to solve it....
I send a POST request to an api that return a presigned url that i use a PUT request to upload images to these presigned, but every time I try the service can't get my images because the content of the urls is empty. When I went to look at one of the generated urls I saw this message and I think it's related to my problem of uploading images to these urls:
<Error>
<Code>SignatureDoesNotMatch</Code>
<Message>The signature does not match the signature you provided. Check your keys and the signature method.</Message>
<AWSAccessKeyId>5QPIZOJL3D1K59PRBJSY</AWSAccessKeyId>
<StringToSign>AWS4-HMAC-SHA256 20230104T110132Z 20230104/us-east-1/s3/aws4_request d3537f0c52b53d1659877317495cb54d3aabfc2b30ca5876b437cc6a252cfad2</StringToSign>
<SignatureProvided>bb9e5bda5d4940fb15ae3886e3ee5c6565ace22b73aecca3c1c570e045ff8b4b</SignatureProvided>
......
</Error>
Any Idea , how to solve this issue ?
Best Answer
-
Hey @Mamad without knowing the full context here, it looks like you need to have a signature for AWS to properly call the API. It seems you have the wrong signature in here. You may need to reference their documentation to see what is required.
Answers
-
Hi @Michael Udinski ,
Yes i'm in contact with the support team it's seems that the issue is on their side. Thank you for your reply
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback