mohamedsamara / mern-ecommerce

:balloon: Fullstack MERN Ecommerce Application
https://mern-store-gold.vercel.app
MIT License
1.63k stars 769 forks source link

Can't Upload image #159

Closed devogi closed 2 years ago

devogi commented 2 years ago

When I try to add Product image from add product page, it gives Error. Also I didnt Add AWS key yet. İs it necessary? Screenshot_265

mohamedsamara commented 2 years ago

@devogi yes! the uploading image code is using AWS S3.

devogi commented 2 years ago

@mohamedsamara Hi, thanks for your help. I completed everything but when i add product it says " your request couldn't be processed, try again". İs it about Aws settings maybe?

mohamedsamara commented 2 years ago

@devogi most likely, I don't think the add product has issues, it has to be about missing AWS keys.

mohamedsamara commented 2 years ago

@devogi closing this issue as discussed. This is just a missing AWS env variable. Once the env variable is added or the code to upload the image is removed - opted out there will be no issue.