SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and signing method.

Same code working locally, but not on a remote server. Migrating aws-sdk to @aws-sdk/client-s3

Using AWS S3 functionality in our node application, this issue suddenly broke our functionality for no plausible reason. The strange aspect was that the same thing worked correctly on the local server, but any remote server would throw this error.

[Read More]

Convert HTML to PDF in Nodejs

Without Puppeteer, phantomjs or any other headless browser.

To convert an HTML to PDF in the backend, you usually need a headless browser like Puppeteer or phantomjs. The downside of headless browsers is that they are resource intensive. If you need to convert an HTML in Nodejs, is there a way to do so without them? The answer is yes but with a caveat: The HTML should be relatively simple, and you will only have a few options to style the document.

[Read More]
nodejs  script  pdf 
When you purchase through links on techighness.com, I may earn an affiliate commission.