How to debug S3 uploads

You likely missed one of the env variables. Having them in the database is not enough.