Error codes for failed PDF export jobs
When you generate PDF reports in Insights, you may encounter instances where your request to generate a PDF report fails. There are many reasons why a failure might occur. Insights provides error codes that can help you understand why the error occurred and provide guidance to troubleshoot the issue. The table below lists the error codes that Insights returns when a PDF export job fails.
Error code | Guidance |
---|---|
INVALID_DATAPREP_SYNTAX | Check the syntax for your calculated fields, and try again. |
POST_AGGREGATED_METRIC_AS_DIMENSION | Aggregated metrics/operands can't be used as visual's grouping dimensions. Choose a valid visual's grouping dimensions, and try again. |
COLUMN_NOT_FOUND | Replace the missing columns in your filters or parameters, and try again. |
DATA_SOURCE_TIMEOUT |
Your query has timed out. Reduce the amount of data, and try again. |
MAX_PAGE_EXCEEDED_ERROR |
Your file is ready but content is not complete. PDFs have a 1,000 page limit. Choose a shorter PDF, and try again. |
INSUFFICIENT_BODY_HEIGHT_ERROR |
Adjust the header and footer to be less than the page height, and try again. |
FIRST_PAGE_HEIGHT_TOO_SMALL_ERROR |
Adjust sections to make room for your tables, and try again. |
INTERNAL_ERROR |
INTERNAL_ERROR |
Related topic