Hi although this question has been asked here, https://www.digitalocean.com/community/questions/getting-signaturedoesnotmatch-with-digitalocean-spaces but it wasnt answered or followed up. I am having the exact same issue when setting up django static files hosting using DigitalOceanspaces. My settings.py is based on codingwithmich tutorial on Youtube :

AWS_SECRET_ACCESS_KEY = '5Npq/S/7tX2IqBl51p3QEAMJuuGvHuFH4680Cl59M3s'
AWS_STORAGE_BUCKET_NAME = 'open-api-space'
AWS_S3_ENDPOINT_URL = 'https://nyc3.digitaloceanspaces.com'
    'CacheControl': 'max-age=86400',
AWS_LOCATION = 'open-api-static'

    os.path.join(BASE_DIR, 'static'),
STATICFILES_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'

I have generated access keys twice but the error persists. Please help me fix this. Thanks

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Can anyone please reply to this?

Submit an Answer