You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded Superset to 4.1.1 and attempted to migrate the Slack API due to the old version being deprecated. However, the new version isn't functioning properly. The logs show an error, and while old reports and alerts work fine, the new version seems unable to upgrade or send reports.
I've already added channels:read scope. There is no problem to adding new alert.
superset-worker-1 | [2025-01-21 05:55:13,723: INFO/MainProcess] Slack API v2 is available
superset-worker-1 | [2025-01-21 05:55:13,723: INFO/MainProcess] Attempting to upgrade the report to Slackv2: Report should not be run with the Slack V1 api.
superset-worker-1 | Attempting to run with V2 if required Slack scopes are available
superset-worker-1 | [2025-01-21 05:55:15,462: WARNING/MainProcess] Failed to update slack recipients to v2: No recipients saved in the report
Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
I have searched Superset docs and Slack and didn't find a solution to my problem.
I have searched the GitHub issue tracker and didn't find a similar bug report.
I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.
The text was updated successfully, but these errors were encountered:
The error message "No recipients saved in the report" indicates that the _get_channels method is returning an empty list, meaning no recipient channels were found or specified in the report configuration. This results in a NotificationParamException being raised [1].
To resolve this issue, ensure that the report configuration includes valid recipient channels. You may need to verify that the necessary Slack scopes are correctly configured for the Slack API v2 integration. The required Slack scopes are incoming-webhook, files:write, chat:write, channels:read, and groups:read[2][3]. Make sure these scopes are granted to your Slack app to allow proper functionality with the v2 API.
@dosu I've already add required scopes. There is no problem with updating or adding new alerts from web ui. After I updated alerts, It is able to send reports.
@iercan, I'm just a bot here to help with bugs, technical questions, and engineering knowledge. It sounds like your issue might be resolved if the reports are sending after updating alerts. If there's something else you need help with, feel free to ask! If you think I should have addressed something specific, you can always reach out to the Dosu Team.
Bug description
I upgraded Superset to 4.1.1 and attempted to migrate the Slack API due to the old version being deprecated. However, the new version isn't functioning properly. The logs show an error, and while old reports and alerts work fine, the new version seems unable to upgrade or send reports.
I've already added
channels:read
scope. There is no problem to adding new alert.Screenshots/recordings
No response
Superset version
4.1.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: