cloudinary api is not working in development
as i was implementing the cloudinary. follwowing the documentation provided by the cloudinary
am getting 500 interanlserver errror?,few minute ago it was perfectly working fine.
2nd Query
so cloudinary has a default Home folder. if i create another folder why does it automatically be subfolder of Home? how can i make my custom created folder a parent rather than subfolder of default Home folder.
—- how can i upload to the custom created folder . and also do delete operation. btw i had tried deleting the file and it does not get deleted .
Answers
-
Hi @alex009.
Thanks for getting in touch. Looking at the screenshot, it seems the error is coming from your side, rather than ours. What is the error body that is returned? That should provide some details as to why the request has failed.
Regarding folders, much like your average webhost or FTP server, all folders created are subfolders of the root folder. This should still allow you to organise your assets and deliver them with a directory structure that makes sense. For instance, if you upload "myimage.jpg" to the root folder, the delivery URL is
https://res.cloudinary.com/your-cloud-name/image/upload/myimage.jpg
If you upload to a subfolder, it becomes
https://res.cloudinary.com/your-cloud-name/image/upload/my-subfolder/myimage.jpg
As for deletions. are you able to share what steps you have taken and what the server response was?
Kind regards,
-Danny0