I had enough trouble to get a python script to work with an S3 storage.
If you use Dell ECS or GCS, it seems that the latest version (1.39) of the recommended library (boto3) to exchange data with those S3 services is a no go.
I followed the recommendations from some users to downgrade to 1.35 and that worked well.
I then tried quite a few suggested solutions to try to get 1.39 to work and I could not make it so.
I always get an error about signature mismatch like:
An error occurred (XAmzContentSHA256Mismatch) when calling the PutObject operation: The Content-SHA256 you specified did not match what we received.