dosubot[bot] commented on issue #30900: URL: https://github.com/apache/superset/issues/30900#issuecomment-2473001879
<!-- Answer --> To fix the 400 Bad Request error when using the Celery warm-up cache in Superset, you should modify the `superset/charts/api.py` file. The error is likely caused by a validation error when loading the request JSON using `ChartCacheWarmUpRequestSchema`. Ensure that the JSON payload you are sending to the `/warm_up_cache` endpoint is correctly structured according to the schema <sup>[[1]](https://github.com/apache/superset/blob/master/superset/charts/api.py)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
