Cannot find space error during space key update in Confluence Space Management
27K reputation · 13 Jun 2022, 10:52 UTC
Goal
To determine whether Confluence’s Space Management allows a space key to be altered after the space has been created, and to understand the circumstances under which the REST API returns the “Cannot find space” error.
Constraints
The documented REST endpoint /rest/api/space/{spaceKey} returns a 404 with the message “Cannot find space” when the key does not exist. The UI shows the same generic error when a user attempts to edit the key, yet the official documentation states that key changes are unsupported. No policy update has been published, and behavior may differ between Server and Cloud editions.
Unresolved Questions
- Does Confluence provide any API or administrative method to change a space key after creation?
- What is the official policy regarding space key modification, and has it been formally documented or is it still an open issue?
- Are there recommended migration or workaround strategies that avoid data integrity problems?