Error deploying to S3 bucket - Access denied

Hi,

I am getting access denied error while trying to deploy code to S3 bucket.
Nothing has changed in the environments and also the permissions have been verified, but still getting access denied error.

Below is the log:-
yarn run s3-website deploy -d ( . ./bin/web-bucket-name.sh ) ./dist

$ /var/lib/jenkins/workspace/Deploy_Iceridge_Prod/node_modules/.bin/s3-website deploy -d bucket-client-prod-bkt1-1 ./dist

Updated config file: .s3-website.json

[?25lRemoving: css/app.8b729e2f.css

[?25l[1000D[K[1A[1000D[KRemoving: css/chunk-vendors.c0f727e7.css

[?25l[1000D[K[1A[1000D[KRemoving: js/app.69116e8e.js

[?25l[1000D[K[1A[1000D[KRemoving: js/app.69116e8e.js.map

[?25l[1000D[K[1A[1000D[KRemoving: js/chunk-vendors.4a1da3ec.js

[?25l[1000D[K[1A[1000D[KRemoving: js/chunk-vendors.4a1da3ec.js.map

[?25l[1000D[K[1A[1000D[KRemoving: precache-manifest.1faf024a6e55083785ab227f44fa8be4.js

[?25l[1000D[K[1A[1000D[KUploading: index.html

[?25l[1000D[K[1A[1000D[KUploading: service-worker.js

[?25l[1000D[K[1A[1000D[KUploading: css/app.7357970d.css

[?25l[1000D[K[1A[1000D[KUploading: css/chunk-vendors.a58edfca.css

[?25l[1000D[K[1A[1000D[KUploading: js/app.e342909b.js

[?25l[1000D[K[1A[1000D[KUploading: js/app.e342909b.js.map

[?25l[1000D[K[1A[1000D[KUploading: js/chunk-vendors.da9d2c04.js

[?25l[1000D[K[1A[1000D[KUploading: js/chunk-vendors.da9d2c04.js.map

[?25l[1000D[K[1A[1000D[KUploading: precache-manifest.1e6fb122ef4c2d7e1ca680a55763852c.js

[?25l[1000D[K[1A[1000D[KFinished Uploading 0 of 16

[?25l[1000D[K[1A[1000D[KFinished Uploading 2 of 16

[?25l[1000D[K[1A[1000D[KFinished Uploading 9 of 16

[?25l[1000D[K[1A[1000D[KFinished Uploading 16 of 16

[?25l[1000D[K[1A[1000D[KDone Uploading

Access Denied

[?25herror Command failed with exit code 1.

There were some VPC endpoint issues which have been rectified as well but it still fails.

Can anyone please advise, what could possibly be wrong ?