Ghost-storage-adapter-s3 Could not load credentials from any providers

Hi all,

I’m trying to get Ghost-storage-adapter-s3 working with Ghost v4 but receiving this error:

CredentialsError: Could not load credentials from any providers
at JSON.parse ()
at /var/www/
at IncomingMessage. (/var/www/
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:467:12)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

Strange thing is I know it can work as I had it working a few days ago. I had to destroy and start up a new Digital Ocean Droplet and now I can’t get this working.

Any ideas?

Thought I’d provide an update on this to anyone interested…

I had stupidly misspelled “secretAccessKey” as “secrect”. It’s only taken me 48 hours of pulling my hair out to find the error!