GitHub user dosubot[bot] added a comment to the discussion: Error export a PDF in the GUI
<!-- Greeting --> Hey @beuks1! I'm here to help you with any bugs, questions, or contributions. Let's tackle this together! <!-- Answer --> I found a similar issue that was previously reported: [[4.1.0.rc3] Error to download PDF or Image](https://github.com/apache/superset/issues/30645). This issue was closed after a pull request was merged to fix the problem: [fix(Dashboard): Sync/Async Dashboard Screenshot Generation](https://github.com/apache/superset/pull/30755). The solution involved improvements in the screenshot generation process, which might be relevant to your case <sup>[[1]](https://github.com/apache/superset/issues/30645)</sup>. Additionally, ensure that your Celery and Redis configurations are correctly set up, as they play crucial roles in the PDF export process. Celery manages task scheduling and execution, while Redis acts as the broker and result backend for these tasks <sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/configuration/alerts-reports.mdx)</sup>. If the error persists, you might want to check the frontend component responsible for handling PDF downloads. The `downloadAsPdf` function uses the `dom-to-pdf` library, and any issues during this process could trigger the error message you're seeing. The function also includes error handling to display a warning toast if the PDF download fails <sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/src/utils/downloadAsPdf.ts)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a787dc4f-96cb-4404-9203-5d384dc1e38c?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/32918#discussioncomment-12679375 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org