const s3 = new AWS.S3({ region: 'eu-north-1', })
Set the correct region which is provided in the **S3 bucket region.
Eg:**