This is a snippet of Python code from a Django project's "settings.py" file. The code is: ``` STORAGES = { "default": { "BACKEND": "storages.backends.s3.S3Storage", "OPTIONS": { "bucket_name": LINODE_BUCKET_NAME, "region_name": "us-east-1", "access_key": LINODE_ACCESS_KEY, "secret_key": LINODE_SECRET_KEY, "endpoint_url": f"https://{LINODE_BUCKET_REGION}.linodeobjects.com", "location": f"{ENVIRON}", "client_config": Config(request_checksum_calculation="WHEN_REQUIRED"), }, }, "staticfiles": { "BACKEND": "whitenoise.storage.CompressedManifestStaticFilesStorage", }, } ```
I had to add a `botocore.config.Config` object to my options, and set `request_checksum_calculation` to "WHEN_REQUIRED".
One of my problems was that I was using "config" as the key, instead of "client_config"
sources: techdocs.akamai.com/cloud-comput...
and
django-storages.readthedocs.io