Getting AccessDenied when trying to use PutObjectCommand from @aws-sdk/client-s3
I’m trying to upload file to an S3 bucket. This is part of my postbuild script.
Until 2 weeks ago it was working fine, then suddenly I started getting AccessDenied error.