Confluence Space key has a space character in it

Hey Atlassian,


I inherited admining a Confluence instance, and one of the spaces has a space character within the name. Is there a way I can rename this key, or go and delete the space altogether? There's no pages in the space that need to be kept.

Whenever I try to access the space, be it Overview, Summary, etc, it gives me Page Not Found error

key="blah 1"



4 answers

1 accepted

Hi All,

I found the best solution, for me, was just going into the database and updating the Space Key and removing the space. After doing this, clearing the cache + reindexing, all things were accessible again.



I assume if you try this link you also get a Page not found?





Yes, does not work like that sad

I would suggest trying to use the API but I have a feeling it will also throw errors. It's weird that confluence even let them create a spacekey like that in the first place. The only other option I can think of is to delete it from the database since you are not able to get into the space admin section of the space.

0 vote

Hi Varun,

As far as I know, the only way to change a space key is by cloning the space. It's stated here.

I hope this helps.



Thanks for the response Rodrigo, but unfortunately that doesn't explain how to delete that an entire space. -VJ

Try creating a support ticket with Atlassian since this seems to be some kind of big with their system that it let them create this spacekey in the first place. Maybe they can give you the SQL command to run to remove the space from the DB.

0 vote

Hi Varun, 

In this case, you can refer to this KB which consist the instructions to delete these spaces manually from the database. 

Please remember to backup your data before performing any modifications to the database.

Hope this helps!




Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

914 views 23 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you