Skip Navigation
Expand
Unable to import report definition, "The selected Report Definition File is not a valid file..."
Answer ID 10424   |   Last Review Date 09/27/2021

Why am I getting this error when trying to import a report?

Environment:

Analytics, Oracle B2C Service, all versions

Issue:

An error may be displayed during a report import. 

"The selected Report Definition File is not a valid file exported by the Report Designer Export function, or the exported file has been modified."

Resolution:

This can have various causes, but the most common cause is a customized Regional and Language Settings of your workstation or PC.

These settings are located at:  Control Panel > Clock, Language, and Region > Region > Formats > Additional settings...

If for example you're in US region and changed "Decimal symbol" from dot to comma you'll see the error during the import because the workstation will not be able to read XML file correctly. The solution is to Reset to restore the system default settings for numbers, currency, time, and date. Corresponding button (Reset) can be found at the bottom of the same window.

Another possibility is that the file was modified/edited after the export. At the bottom of each exported XML definition file is a hash signature which is a calculated hash of the exported document's content.

Document's content hash being re-calculated during the import and if it doesn't match the hash declared at the end of the file, you will see the "Report Definition File is not a valid file" error.

Additionally, this error can be returned if the exported file is being imported into an earlier version site.