AWS Error "AmazonS3 Storage exception" when using uploadFile()

This was previously working but stopped at some unknown point. Full error is:

“AmazonS3 Storage exception: The request signature we calculated does not match the signature you provided. Check your key and signing method”

We’re using the latest version 25.9.0 of: asposewordscloud - npm

Any help is appreciated

Please share your client ID. I will go into the logs

Client ID: b43a5fcb-2759-4445-89a5-c2de79a33fda

Thanks for sharing I will check.

In the logs I see that it happens once and the product you use is Aspose PDF Cloud, not Aaspose Words Cloud, am I correct?

It’s happened a few times, in Words and PDF

I didn’t find any errors in Words for the last two weeks, when did it happen?

@yaroslaw.ekimov I just sent a few requests today (9/29 PST)

I’m using the WordsApi uploadFile() function. The response comes back as a 200 but it’s not really successful, it returns the error “AmazonS3 Storage exception: The request signature we calculated does not match the signature you provided. Check your key and signing method”.

The request ID for one of these failed requests is: bb44736f8bfa19227aab510954dcf6a2

I’ve sent this to the storage team, waiting for their response.

The analysis is done, here I will share the storage team’s results:

After reproducing this issue for user jesse@redshift-app.com, I found the problem with their Amazon S3 storage configuration. The user added a bucket name with a prefix: “thruline-prod-main/aspose”. Our storage fails when trying to fetch the region and perform AWS calls because this is not a valid bucket name. The actual bucket name is “thruline-prod-main”.
I tested their storage with the correct bucket name, and everything worked fine. So, the problem is how the Amazon S3 storage was added.

here is what you should use in terms of put all files under aspose folder

const folder = “aspose/”;
path: folder + inputFile