Hi Confluence lovers,
I have to delete and re-import spaces with the same key quite often in my Confluence site.
Lately, it happended quite a few times that even throught I first delete my space, when I try to import a space with the same key XX, I got the error "A space with key XX already exists".
Somehow, it seems that a very simple workaround exists ( at least it works all the time for me, but I am eager to know if it is the same for the other users !).
I simply go to the list of all spaces, go to the "Trashed" spaces and click on "Delete permanantly".

And then my import is working. Is that working for you guys as well ? 