【发布时间】:2022-01-02 21:13:47
【问题描述】:
我有一个 VPS,我正在尝试使用 AWS S3 收集静态 (Django)。
当我尝试python manage.py collectstatic 时出现此错误:
botocore.exceptions.ClientError: An error occurred (400) when calling the HeadObject operation: Bad Request
更多上下文
我有另一个具有相同项目和工作的 VPS。 我使用相同的 aws 凭据(用户和存储桶)进行了测试,我得到了同样的错误。 本地测试有效。
【问题讨论】:
标签: django amazon-web-services amazon-s3