chai-backend
chai-backend copied to clipboard
Avatar Upload failed
I noticed that in my public folder the images I am sending from postman is NOT GETTING stored, I tried debugging it but couldn't find the solution
https://github.com/moayaan1911/backend-mastery
Here is my repo
Hey, I encountered a similar issue as well. The problem arose due to a configuration error in my Cloudinary configuration setup. After addressing the issue by adjusting my Cloudinary settings, my problem was resolved. I suggest reviewing your Cloudinary configuration to ensure it is properly configured.
But my images are not getting stores in local public folder either..
That can be because of fs.unlinkSync(localFilePath)
used in Cloudinary.js file, try removing this line from the file.