The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Importing a space to a new confluence account - Error Key already Exists

Tracy Flanagan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 25, 2026

I have tried both the XML and CSV file and continue to receive a [A space with key XXX already exists.] Error.  I have changed me Key Source Space prior to exporting and continue to receive the same error.  Any ideas?

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Arkadiusz Wroblewski
Community Champion
July 25, 2026

Hello and welcome to Atlassian Community @Tracy Flanagan 

Please refer to steps from here https://support.atlassian.com/organization-administration/docs/resolve-duplicate-spaces-when-copying-confluence-data/ 

And no, renaming are not always enough. You often changing only "Frontend" but not backend.

Best,

Arek 🤠 

0 votes
Tomislav Tobijas
Community Champion
July 26, 2026

Yeah, this is a struggle @Tracy Flanagan 😅...

We do copies (read "importing") monthly and it can become awfully annoying to do this due to old, unused keys from some spaces. We do have some kind of structure we follow, but that workaround in the link Arek mentioned is your best bet.

Anyway, there are a couple of feature requests (which I hope will be developed relatively soon) related to removing old space key without the need to actually purge the space:

Cheers,
Tobi

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events