I have deployed the backend with django, which works fine, but I have one issue with the s3 bucket, which I have configured the secret and key in the project environment. Testing the backend on returns An error occurred (403) when calling the HeadObject operation: Forbidden when I’m sending a request to s3.
Testing it locally works fine with the s3 configuration. fly returns An error occurred (403) when calling the HeadObject operation: Forbidden.
Yes, I have added the S3 environment variables. It works well rendering CSS and JS from the S3 bucket static folder, but uploading images is where I’m getting the issue.
An error occurred (403) when calling the HeadObject operation: Forbidden.