When importing a Dashboard .xml file, an error occurs reporting ErrorInLine with Arguments: 1, 2. The error should look similar to the example below:
This problem arises because there are two ways to import and export Dashboards.
The first is to import and export the whole Dashboard, which can be done in the Modeler > Dashboards.
The second is to import and export individual Dashboard pages. Go to one of your Dashboard Pages, and you will find the Import and Export buttons at the far right of the ribbon:
Although both ways generate .xml files, the query in the files are at different granularities: the first one is organized by Dashboards, whereas the second is by Dashboard pages. As a result, the exported files cannot be used interchangeably.