function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ShaTShaT 

amazon S3 folder creation

Hi All,

I trying to create a folder from Salesforce to S3 Bucket but I am getting Below error - 
System.HttpResponse[Status=Forbidden, StatusCode=403]
<Error><Code>SignatureDoesNotMatch</Code><Message>The request signature we calculated does not match the signature you provided. Check your key and signing method.

Below is the endPoint which is i am sending
10:25:32:125 CALLOUT_REQUEST [45]|System.HttpRequest[Endpoint=https://test-sandbox.s3.us-east-1.amazonaws.com/SandboxAccounts/00P0o00001qiBHQEA2-Unsubscribeoptout.pdf, Method=PUT]

When I just remove the folder name, the file is directly created in the bucket. 

Can anyone help me?

Thanks
ShaT