jschneier / django-storages

https://django-storages.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
2.7k stars 847 forks source link

An error occurred (NotImplemented) when calling the PutObject operation #1404

Open pbpoon opened 2 months ago

pbpoon commented 2 months ago

when upload a file to s3 raise below error: An error occurred (NotImplemented) when calling the PutObject operation: A header you provided implies functionality that is not implemented on docker container --platform linux/amd64 but on my devloment env (apple m1, PyCharm ) is no problem

this is my pip list

amqp==5.2.0 argcomplete==3.3.0 asgiref==3.8.1 async-timeout==4.0.3 billiard==4.2.0 boto3==1.34.107 botocore==1.34.107 celery==5.4.0 certifi==2024.2.2 cffi==1.16.0 cfn-flip==1.3.0 charset-normalizer==3.3.2 click==8.1.7 click-didyoumean==0.3.1 click-plugins==1.1.1 click-repl==0.3.0 crypto==1.4.1 cryptography==42.0.5 distlib==0.3.8 Django==4.2.11 django-appconf==1.0.6 django-autocomplete-light==3.11.0 django-braces==1.15.0 django-cors-headers==4.3.1 django-debug-toolbar==4.3.0 django-environ==0.11.2 django-filter==24.2 django-model-utils==4.5.0 django-redis==5.4.0 django-select2==8.1.2 django-star-ratings==0.9.2 django-storages==1.14.3 django-taggit==5.0.1 django-webpack-loader==3.1.0 django-wkhtmltopdf==3.4.0 djangorestframework==3.15.1 djangorestframework-simplejwt==5.3.1 durationpy==0.6 filelock==3.13.4 greenlet==3.0.3 hjson==3.1.0 idna==3.7 jmespath==1.0.1 kappa==0.6.0 kombu==5.3.7 Markdown==3.6 MarkupSafe==2.1.5 msgpack==1.0.8 Naked==0.1.32 optionaldict==0.1.2 packaging==24.0 Pillow==9.4.0 pipenv==2023.12.1 placebo==0.9.0 platformdirs==4.2.1 prompt-toolkit==3.0.43 psycopg==3.1.8 psycopg2-binary==2.9.9 pycparser==2.22 PyJWT==2.8.0 python-dateutil==2.9.0.post0 python-slugify==8.0.4 PyYAML==6.0.1 redis==5.0.4 requests==2.31.0 s3transfer==0.10.1 shellescape==3.8.1 six==1.16.0 sqlparse==0.5.0 swapper==1.3.0 text-unidecode==1.3 toml==0.10.2 tqdm==4.66.2 troposphere==4.7.0 typing_extensions==4.11.0 tzdata==2024.1 urllib3==2.2.1 uWSGI==2.0.25.1 vine==5.1.0 virtualenv==20.26.1 wcwidth==0.2.13 wechatpy==1.8.18 Werkzeug==3.0.2 xlrd==2.0.1 xlwt==1.3.0 xmltodict==0.13.0 zope.event==5.0 zope.interface==6.3

pls some one help me

Frodothedwarf commented 1 month ago

@pbpoon please provide extra context by adding a code example that can reproduce your error. This makes it a lot easier for other people to help you, or potentially open a pull request to fix the error with the library itself.