import space and site fails: a required security token was not present in the request

I cannot import a site export created with Confluence 5.4.3, neither a space exported with that version. The site ZIP is 50MB, the space is 10MB. I'm trying to import into our newly created onDemand version. Strangely, the first site import today from 4.2.2 worked (but the spaces were missing):

20 seconds (for the 10MB space) after pressing the "Import" button, I get "Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page". Firebug tells me that this is a 403 error for the POST to /wiki/admin/import/doimportconfluencesite.action.

Happens with both Firefox and Chromium. What can I do?

2 answers

1 accepted

This was finally resolved by support. Only importing spaces (instead of the whole site) helped, which meant the users needed to be re-created manually (which was okay in my case).

First, you can't import spaces exported from a different major version, so I'd expect the 4.2.2 one to fail. (The only way to get material over is to upgrade the 4.2.2 site before upgrading.)

As for the failure importing the one exported from the same version, all I have is a guess: it sounds like there's a permissions problem -- perhaps you don't have sufficient permissions on the new site, or it has been too long since login and your security token has expired.

I indeed originally imported only the site from version 4.2.2, not a space. Permissons shouldn't be a problem, as I'm the admin and can do everything else in the admin area.

You can't import a site from a different version, either.

Confluence site import says: "Confluence OnDemand accepts full site imports from version 4.0 and newer releases."

So it does, and https://confluence.atlassian.com/display/DOC/Restoring+a+Siteseems to indicate the same thing (that you can upgrade a site by importing to a newer version). However, there is a reply from Atlassian in the comments indicating that it is problematic to import from a different major version. I'm not sure why they're so unclear about this.

I am running into the same issue importing a site from our own hosted confluence 4.3.2 to AOD - Only one space shows up after the backup is imported (the zip file size is 83MB and the XML size inside is 66MB). Attempting to reimport results in the issue described in the original post.

Importing individual spaces would a painful task since I would need to upgrade the installation, etc.

Please help

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 Tuesday 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 ...

464 views 19 9
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