Troubleshooting audience export
This topic describes the most common errors and solutions when exporting an audience from Sitecore CDP.
Errors in the test output
When testing the export, in Test > Response > Output, errors display in the following cases:
-
The attribute values that you entered in the output structure are wrongly formatted. To fix the error, make sure to correctly format the data you included in the output.
-
There are errors in the JavaScript that you included in the audience export. To fix the error, use
print()
in the JavaScript to log messages to the test log. Then, test the export and check the test log.
Data missing from the output
If some data that you included in the output structure is missing from the output, make sure that:
-
Every column header has a unique title.
-
The data you reference from the guest profile, for example, the guest's email address, is available in the guest profile. Data not available in the guest profile will not result in errors and will not be part of the output.
Cannot access Build screen
If you want to edit an export but can't access the Build screen, it's because the export is in the scheduled status. To be able to edit the export, you have to first pause it.
Output exported with errors
If the export finishes running and contains errors, make sure that:
-
The JavaScript is free of error, for example, all variables are defined.
-
All your JavaScript functions are inside a single function.
-
The condition used for filtering a segment is free of error.
-
You test the export before running it again.