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
{{ message }}
Repository navigation
Unable to share saved SQL queries - user gets an error wen trying to load the query #31367
Users are unable to share saved SQL queries to other users. The owner of a saved query can access it via the shared URL, but any other user attempting to access the same URL receives an error message: “The query couldn’t be loaded."
How to reproduce the bug
Log in and save a query in SQL Lab.
Copy the query URL using the "Copy Query URL" option.
Share the URL with a different user.
Have the other user try to load the shared query URL.
Observe that the second user receives the error message: “The query couldn’t be loaded.”
Expected results
Any user with access to SQL Lab should be able to load and view saved SQL queries via a shared URL.
Actual results
Only the creator of the query can load the query from the shared URL. Other users receive an error message stating: "The query couldn’t be loaded."
Screenshots/recordings
No response
Superset version
master / latest-dev
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.
Only developers assigned by a Bounty Program Manager should start working on this issue to win the bounty.
Be sure to follow the guide closely to avoid any delays in payment. Please, allow a few days after your PR has been merged for the bounty to be released.
Got the problem The query couldn't be loaded in version 4.1.1, but I can't upgrade to the newest version now. Is there any way to fix this without upgrade?
Got the problem The query couldn't be loaded in version 4.1.1, but I can't upgrade to the newest version now. Is there any way to fix this without upgrade?
Hey @lethehoa the fix is in v5.0.0 but I could help fix that for you if you do not want to upgrade.
Hi @anjosma @SandadiLokanathaReddy as per my understanding the team does not backport features to minor releases so this will be available in v5.0.0 only.
Got the problem The query couldn't be loaded in version 4.1.1, but I can't upgrade to the newest version now. Is there any way to fix this without upgrade?
Hey @lethehoa the fix is in v5.0.0 but I could help fix that for you if you do not want to upgrade.
Got the problem The query couldn't be loaded in version 4.1.1, but I can't upgrade to the newest version now. Is there any way to fix this without upgrade?
Hey @lethehoa the fix is in v5.0.0 but I could help fix that for you if you do not want to upgrade.
Activity
geido commentedon Dec 10, 2024
🎉 Preset Bounty Available: $250 USD 🎉
To claim this bounty, please carefully follow the steps below.
📋 Steps to Participate
Review Guidelines:
Read through the Preset Bounty Program Contribution Guide for complete details on bounty requirements.
Show Your Interest:
Complete the Preset Bounty Program Survey and comment this issue to express your interest.
Join the Slack Channel:
After completing the survey, you’ll receive an invitation to the dedicated Apache Superset Slack channel.
Get Assigned:
To officially start, ensure a Bounty Program Manager has assigned you to this issue.
Submit Your Solution:
When ready, submit your solution with the
Fixes #{issue_number}notation in your Pull Request description.Claim Your Bounty:
Sign up at GitPay.me and submit your solution via: https://gitpay.me/#/task/1013
💡 Additional Notes
Good luck, and happy coding! 🎉
LevisNgigi commentedon Dec 10, 2024
Hey @geido I would love to work on this.
lethehoa commentedon Mar 10, 2025
Got the problem The query couldn't be loaded in version 4.1.1, but I can't upgrade to the newest version now. Is there any way to fix this without upgrade?
LevisNgigi commentedon Mar 10, 2025
Hey @lethehoa the fix is in v5.0.0 but I could help fix that for you if you do not want to upgrade.
anjozma commentedon May 8, 2025
Any plans to include this fix on v4.1.3?
SandadiLokanathaReddy commentedon May 14, 2025
hi @LevisNgigi , so upgrading to v5.0.0 is the only way to fix this issue or do we have any workaround or official fix for the v4.1.1?
Thanks!
LevisNgigi commentedon May 14, 2025
Hi @anjosma @SandadiLokanathaReddy as per my understanding the team does not backport features to minor releases so this will be available in v5.0.0 only.
lethehoa commentedon May 15, 2025
Hi @LevisNgigi, Yeah of course, please help me
SandadiLokanathaReddy commentedon May 15, 2025
Yes, any help in fixing this issue within v4.1.1 is much appreciated because v5.x is still an rc it seems, means not yet production ready.