How can I delete an empty folder from the Media Library?

Follow

Comments

7 comments

  • Avatar
    Karl Johan Kleist

    I just tried to delete an empty folder from the media library. But this fails, I just get this following pop-up over and over again:

    "Confirm Deletion

    Are you sure you want to delete this folder?"

  • Avatar
    Nadav Ofir

    Hi,

    Can't see an empty folder on your account.
    Did you succeed deleting it?

    If you're still encountering an issue, please share some more information regarding the exact folder so we can check it out on your account,

    If you care about privacy, please feel free opening a support ticket:
    http://support.cloudinary.com/tickets/new

  • Avatar
    Karl Johan Kleist

    Thanks for for your assistance.

    I finally managed to delete the folder, some hour later.

    The folder had been renamed earlier on (implicitly, by renaming an image). May a cache somewhere that does not properly invalidate?

  • Avatar
    Alex Wack

    I'm having a problem with this. The folders(s) that I'm trying to delete via the trash can icon in the admin are empty but it appears that the AJAX is making a call to an incorrect URL:


    DELETE https://cloudinary.com/console/media_library/subfolders 404 (Not Found)


    I suspect that the lookup for the specified folder is failing and returning this 404 error because hitting the above URL successfully redirects to https://cloudinary.com/console/media_library


    I inspected the path being sent in the form data of the AJAX request and it appears to be correct but it's a relative path instead of an absolute path. I'm not sure if that would make any difference on the backend.

  • Avatar
    Nadav Ofir

    Seems like you're trying to delete a folder that contains backups of previously deleted resources. If you wish to clear your backup, please contact us via support@cloudinary.com
    We'll look into improving the messaging in such error cases.

  • Avatar
    Vanitha

    Unable to delete my empty folder. Please help me to fix this. Thanks,

  • Avatar
    Roee Ben Ari

    Hi Vanitha, if the folder contains backup entries for deleted resources then it cannot be deleted. In order to fully delete the folder, these backup entries need to be deleted as well. Please open a support ticket with all the relevant information (your cloud name and folders name) and we'll be glad to help with that. 

Please sign in to leave a comment.