You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "siyu1212 (via GitHub)" <gi...@apache.org> on 2025/07/21 10:16:43 UTC
[D] Transaction heatmap unable to show in one of many accounts [superset]
GitHub user siyu1212 created a discussion: Transaction heatmap unable to show in one of many accounts
In this Superset instance, we have added probably around 10 users with developer rights and admin rights. However, there is 1 user account, for the transaction heat map would keep showing up this "Unexpected Error".
Have tried removing and adding that 1 user account, the rest of the 9 users have no issue. Any advice.
<img width="1918" height="1308" alt="image-sel_transcation_heatmap_issue(1)" src="https://github.com/user-attachments/assets/a81a287a-1f7c-469f-ae72-3ce4778354d5" />
<img width="1918" height="1308" alt="image-sel_transcation_heatmap_issue(1)" src="https://github.com/user-attachments/assets/12ac41b7-ddd8-4051-ac5e-7203a0d0f849" />
GitHub link: https://github.com/apache/superset/discussions/34249
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Transaction heatmap unable to show in one of many accounts [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] added a comment to the discussion: Transaction heatmap unable to show in one of many accounts
<!-- Greeting -->
Hi @siyu1212! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
This kind of user-specific "Unexpected Error" in Superset is often caused by differences in permissions, group memberships, or row-level security (RLS) filters. Even if the user has developer or admin rights, it's possible that their access to the underlying dataset(s) for the heatmap is restricted, or that an RLS filter is applied to their account or group, blocking data access and causing the chart to fail to load ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/security/manager.py)).
Here are some steps to help diagnose and resolve the issue:
- Compare the affected user's roles, group memberships, and dataset permissions with a user who can see the heatmap. Make sure the problematic user has access to the same datasets and dashboards.
- Check if any RLS filters are applied to the dataset powering the heatmap. If so, verify whether the affected user is subject to stricter filters or exclusions.
- Review the Superset backend logs right after reproducing the error with the affected user. The logs usually contain a more detailed error message or stack trace, which can pinpoint permission or RLS issues ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/views/base.py)).
- Clear the user's session and browser cache, then have them log out and back in. If the user was deleted and re-added, lingering session or database references can sometimes cause persistent errors ([discussion](https://github.com/apache/superset/discussions/32808)).
- If the problem persists, try the affected account on a different browser or device to rule out client-side issues.
If you find a specific permission or RLS rule causing the problem, updating the user's roles, group memberships, or dataset access should resolve it. Let me know if you find anything specific in the logs or permission settings!
<!-- 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/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d3a905c3-4c3f-4dc4-a925-f156dd995fa6?feedback_type=other)</sup> [](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/34249)
GitHub link: https://github.com/apache/superset/discussions/34249#discussioncomment-13832531
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [D] Transaction heatmap unable to show in one of many accounts [superset]
Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
GitHub user dosubot[bot] edited a comment on the discussion: Transaction heatmap unable to show in one of many accounts
<!-- Greeting -->
Hi @siyu1212! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
This kind of user-specific "Unexpected Error" in Superset is often caused by differences in permissions, group memberships, or row-level security (RLS) filters. Even if the user has developer or admin rights, it's possible that their access to the underlying dataset(s) for the heatmap is restricted, or that an RLS filter is applied to their account or group, blocking data access and causing the chart to fail to load ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/security/manager.py)).
Here are some steps to help diagnose and resolve the issue:
- Compare the affected user's roles, group memberships, and dataset permissions with a user who can see the heatmap. Make sure the problematic user has access to the same datasets and dashboards.
- Check if any RLS filters are applied to the dataset powering the heatmap. If so, verify whether the affected user is subject to stricter filters or exclusions.
- Review the Superset backend logs right after reproducing the error with the affected user. The logs usually contain a more detailed error message or stack trace, which can pinpoint permission or RLS issues ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset/views/base.py)).
- Clear the user's session and browser cache, then have them log out and back in. If the user was deleted and re-added, lingering session or database references can sometimes cause persistent errors ([discussion](https://github.com/apache/superset/discussions/32808)).
- If the problem persists, try the affected account on a different browser or device to rule out client-side issues.
If you find a specific permission or RLS rule causing the problem, updating the user's roles, group memberships, or dataset access should resolve it. Let me know if you find anything specific in the logs or permission settings!
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=d3a905c3-4c3f-4dc4-a925-f156dd995fa6) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/34249#discussioncomment-13832531
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org