{"record":{"id":"b16a5f31bcf8a6f6","repo":"apache/superset","slug":"report-schedule-execution-requires-a-celery-backen","errorCode":null,"errorMessage":"Report Schedule execution requires a Celery backend to be configured. Please configure a Celery broker (Redis or RabbitMQ) and worker processes.","messagePattern":"Report Schedule execution requires a Celery backend to be configured\\. Please configure a Celery broker \\(Redis or RabbitMQ\\) and worker processes\\.","errorType":"exception","errorClass":"ReportScheduleCeleryNotConfiguredError","httpStatus":503,"severity":"error","filePath":"superset/commands/report/execute_now.py","lineNumber":104,"sourceCode":"            # Set eta to now so the downstream task receives a valid scheduled_dttm.\n            async_options: dict[str, Any] = {\n                \"task_id\": execution_id,\n                \"eta\": datetime.now(tz=timezone.utc),\n            }\n\n            async_options.update(\n                get_report_task_timeout_options(\n                    is_report=self._model.type == ReportScheduleType.REPORT,\n                    working_timeout=self._model.working_timeout,\n                    config=current_app.config,\n                )\n            )\n\n            try:\n                execute.apply_async((self._model.id,), **async_options)\n            except KombuOperationalError as celery_ex:\n                logger.error(\"Celery backend not configured: %s\", str(celery_ex))\n                raise ReportScheduleCeleryNotConfiguredError() from celery_ex\n            except Exception as celery_ex:\n                logger.error(\"Celery task execution failed: %s\", str(celery_ex))\n                raise ReportScheduleExecuteNowFailedError() from celery_ex\n\n            return execution_id\n\n        except CommandException:\n            raise\n        except Exception as ex:\n            logger.exception(\n                \"Unexpected error executing report schedule %d\", self._model_id\n            )\n            raise ReportScheduleExecuteNowFailedError() from ex\n\n    def validate(self) -> None:\n        \"\"\"Validate the report schedule exists and the user has permission to\n        execute.\"\"\"\n        self._model = ReportScheduleDAO.find_by_id(self._model_id)","sourceCodeStart":86,"sourceCodeEnd":122,"githubUrl":"https://github.com/apache/superset/blob/f4587218dd19d046c3e4d00063e7d27f8a2ed354/superset/commands/report/execute_now.py#L86-L122","documentation":"Error \"Report Schedule execution requires a Celery backend to be configured. Please configure a Celery broker (Redis or RabbitMQ) and worker processes.\" thrown in apache/superset.","triggerScenarios":"Execute-now is requested but no Celery backend is configured.","commonSituations":"Triggering 'execute now' without a Celery broker/worker configured in the deployment.","solutions":["Configure a Celery broker (Redis or RabbitMQ) and run Celery worker processes, then retry.","Set CELERY_CONFIG/RESULTS_BACKEND appropriately in superset_config.py."],"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"}