GitHub user dosubot[bot] added a comment to the discussion: Inquiry Regarding 400 Error When Sending Superset Alert to Mattermost Incoming Webhook
<!-- Answer --> The 400 error you're seeing (`"지정된 텍스트가 없습니다"` = "No text specified") confirms that Mattermost isn't receiving the required `text` field in the payload. **Key insight**: Superset recently added webhook notification support via [PR #36127](https://github.com/apache/superset/pull/36127) (merged December 23, 2025). The webhook payload in this implementation **does include a `text` field**, which should satisfy Mattermost's requirements. **To troubleshoot:** 1. **Check your Superset version** — If you're on a version prior to PR #36127 being merged, native webhook support isn't available yet and you'd need to upgrade or create a custom notification plugin. 2. **Enable the feature flag** — If you have a recent version, ensure webhook notifications are enabled in `superset_config.py`: ```python ALERT_REPORT_WEBHOOK = True ALERT_REPORTS_WEBHOOK_HTTPS_ONLY = True # Set to False if using HTTP ``` 3. **Test the actual payload** — Use a service like [webhook.site](https://webhook.site/) to see exactly what Superset is sending to verify the `text` field is present. 4. **Alternative: Custom Mattermost plugin** — If the default webhook format doesn't work, [community members have successfully created custom Mattermost notification plugins](https://github.com/apache/superset/discussions/35458) by subclassing `BaseNotification` in `superset/reports/notifications/`. Could you share which Superset version you're running? That would help narrow down whether this is a version compatibility issue or a configuration problem. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/1429948a-b613-403d-9f60-294f8448c0fe?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=The%20400%20error%20you%27re%20seeing%20%28%60%22%EC%A7%80%EC%A0%95%EB%90%9C%20%ED%85%8D%EC%8A%A4%ED%8A%B8%EA%B0%80%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4%22%60%20%3D%20%22No%20text%20specified%22%29%20confirms%20that%20Mattermost%20isn%27t%20receiving%20the%20required%20%60text%60%20field%20in%20the%20payload.%0A%0A%2A%2AKey%20insight%2A%2A%3A%20Superset%20recently%20added%20webhook%20notification%20support%20via%20%5BPR%20%2336127%5D%28https%3A//github.com/apache/superset/pull/36127%29%20%28merged%20December%2023%2C%202025%29.%20The%20webhook%20payload%20in%20this%20implementation%20%2A%2Adoes%20include%20a%20%60text%60%20field%2A%2A%2C%20which%20should%20satisfy%20Mattermost%27s%20requirements.%0A%0A%2A%2ATo%20troubleshoot%3A%2A%2A%0A%0A1.%20%2A%2A Check%20your%20Superset%20version%2A%2A%20%E2%80%94%20If%20you%27re%20on%20a%20version%20prior%20to%20PR%20%2336127%20being%20merged%2C%20native%20webhook%20support%20isn%27t%20available%20yet%20and%20you%27d%20need%20to%20upgrade%20or%20create%20a%20custom%20notification%20plugin.%0A%0A2.%20%2A%2AEnable%20the%20feature%20flag%2A%2A%20%E2%80%94%20If%20you%20have%20a%20recent%20version%2C%20ensure%20webhook%20notifications%20are%20enabled%20in%20%60superset_config.py%60%3A%0A%20%20%20%60%60%60python%0A%20%20%20ALERT_REPORT_WEBHOOK%20%3D%20True%0A%20%20%20ALERT_REPORTS_WEBHOOK_HTTPS_ONLY%20%3D%20True%20%20%23%20Set%20to%20False%20if%20using%20HTTP%0A%20%20%20%60%60%60%0A%0A3.%20%2A%2ATest%20the%20actual%20payload%2A%2A%20%E2%80%94%20Use%20a%20service%20like%20%5Bwebhook.site%5D%28https%3A//webhook.site/%29%20to%20see%20exactly%20what%20Superset%20is%20sending%20to%20verify%20the%20%60text%60%20field%20is%20present.%0A%0A4.%20%2A%2AAlternative%3A%20Custom%20Mattermost%20plugin%2A%2A%20 %E2%80%94%20If%20the%20default%20webhook%20format%20doesn%27t%20work%2C%20%5Bcommunity%20members%20have%20successfully%20created%20custom%20Mattermost%20notification%20plugins%5D%28https%3A//github.com/apache/superset/discussions/35458%29%20by%20subclassing%20%60BaseNotification%60%20in%20%60superset/reports/notifications/%60.%0A%0ACould%20you%20share%20which%20Superset%20version%20you%27re%20running%3F%20That%20would%20help%20narrow%20down%20whether%20this%20is%20a%20version%20compatibility%20issue%20or%20a%20configuration%20problem.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/38283) GitHub link: https://github.com/apache/superset/discussions/38283#discussioncomment-15941555 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
