Getting SignatureDoesNotMatch with DigitalOcean spaces

Posted December 9, 2017 5.2k views
DjangoUbuntu 16.04Object Storage

I was thinking of migrating from amazon s3 to do spaces, so I tried to follow the tutorial to see if everything works correctly first (
I am getting a 403 Forbidden on all static files requests.
Here the complete response:


I think it could be something related to the querystring parameters:


The file is identical except for AWS_S3_ENDPOINT_URL = '' setting, which in my case is AWS_S3_ENDPOINT_URL = ''
Any hints?

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.

Submit an Answer
2 answers

Add this line on


Nvm, I found this ticket which explains the correct usage.

  • Hey what did u do to fix this error?
    i am having the same error, having a difficult time finding the exact problem. I have gone through the github link but no luck even with setting signature version.