{"record":{"id":"5b2e5e53a59aa1e2","repo":"apache/superset","slug":"report-schedule-unexpected-error","errorCode":null,"errorMessage":"Report schedule unexpected error","messagePattern":"Report schedule unexpected error","errorType":"exception","errorClass":"ReportScheduleUnexpectedError","httpStatus":500,"severity":"error","filePath":"superset/commands/report/execute.py","lineNumber":2187,"sourceCode":"                    str(ex) or type(ex).__name__,\n                    type(ex).__name__,\n                    report_execution_context,\n                )\n            raise\n        except Exception as ex:\n            if (\n                self._model\n                and self._model.type == ReportScheduleType.REPORT\n                and owns_report_working_state\n            ):\n                persist_owned_report_execution_terminal_error(\n                    self._model.id,\n                    self._execution_id,\n                    str(ex) or type(ex).__name__,\n                    type(ex).__name__,\n                    report_execution_context,\n                )\n            raise ReportScheduleUnexpectedError(str(ex)) from ex\n\n    def validate(self) -> None:\n        # Validate/populate model exists\n        logger.info(\n            \"session is validated: id %s, executionid: %s\",\n            self._model_id,\n            self._execution_id,\n        )\n        self._model = (\n            db.session.query(ReportSchedule).filter_by(id=self._model_id).one_or_none()\n        )\n        if not self._model:\n            raise ReportScheduleNotFoundError()\n","sourceCodeStart":2169,"sourceCodeEnd":2201,"githubUrl":"https://github.com/apache/superset/blob/f4587218dd19d046c3e4d00063e7d27f8a2ed354/superset/commands/report/execute.py#L2169-L2201","documentation":"Error \"Report schedule unexpected error\" thrown in apache/superset.","triggerScenarios":"An unhandled exception occurs while finalizing a report schedule run.","commonSituations":"Celery report task raises an unexpected error not classified as a system or client error.","solutions":["Inspect worker logs for the unexpected exception and retry the schedule after resolving it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4587218dd19d046c3e4d00063e7d27f8a2ed354","analyzedAt":"2026-08-14T22:39:27.425Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}