Data pipeline export fails with ‘Inconsistent index used for export job’ error
Platform Notice: Data Center Only - This article only applies to Atlassian products on the data center platform.
When exporting data using the data pipeline API in Jira or Confluence Data Center, the export fails.
The following error is returned in the REST response:
... "key": "export.pre.validation.failed", "message": "Inconsistent index used for export job." ...
The data pipeline relies on the search index to export data. If your index is out of date when an export is performed, so stop the export, and throw the inconsistent index error, rather than exporting data that may be incomplete or inaccurate.
To resolve the problem, you should reindex your site. However, you can choose to bypass the index check and force the pipeline to complete the export by including the forceExport=true parameter in your REST request.
To resolve this problem you will need to rebuild your index. This can take some time in large sites, and may need to be performed when your site is less busy.