Confluence space creation fails due to custom space blueprint
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Space creation fails with an error similar to this
The following appears in the atlassian-confluence.log
:
1
2
3
4
ERROR [ajp-8009-7] [atlassian.event.internal.AsynchronousAbleEventDispatcher] run There was an exception thrown trying to dispatch event 'com.atlassian.confluence.event.events.space.SpaceCreateEvent[source=com.atlassian.confluence.spaces.DefaultSpaceManager@474143dd]' from the invoker 'LegacyListenerInvoker{eventListener=com.atlassian.confluence.spaces.listeners.InitialSpaceContentListener@54a53d46}'.
-- url: /rest/create-dialog/1.0/space-blueprint/create-space | userName: admin | referer: https://localhost:8090/confluence/admin/console.action
[com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxParsingException: Unexpected '<' in attribute value
at [row,col {unknown-source}]: [10,103]
Cause
The space is being created with specific customized content or a custom space creation blueprint. Customising Default Space Content
Workaround
Reset the template for Space Creation to the default template.
Resolution
Follow the instructions to reset the template for space creation to default on Customizing default space content.
Was this helpful?