I am using Magento 2.1 and have configured it to store media files in an S3 bucket. However, when I try to upload a product image, I encounter the following errors:

enter image description here

Despite these errors, I can see the product images listed and accessible.

Could you please provide some guidance on resolving this issue?

1 Answer 1


Can you please check the permissions by using these commands in the root directory of the project:

sudo chmod -R 777 var/ generated/ pub/

sudo chown -R rana:rana .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.