You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "mvaullerin (via GitHub)" <gi...@apache.org> on 2025/03/19 13:15:04 UTC

[I] Charts in Embedded Dashboard display error [superset]

mvaullerin opened a new issue, #32753:
URL: https://github.com/apache/superset/issues/32753

   ### Bug description
   
   **Bug Description**
   
   I have updated my Superset instance to version 5.0.0rc1 from a 4.x.x version and encountered an issue with my embedded dashboard. All the charts are displaying the following error: "Unexpected error: Guest user cannot modify chart payload."
   
   However, everything works fine in the Superset interface. Interestingly, the embedded charts start working again after navigating to the edit page of the chart (no need to save or change anything, just navigate to the edit page).
   
   It appears that this action populates the "query_context" field in the slices table, which is sufficient to make the embedded chart work.
   
   
   ### Screenshots/recordings
   
   ![Image](https://github.com/user-attachments/assets/fb242a50-a773-4a4a-ab47-cbe9a161396a)
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [x] 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.


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Charts in Embedded Dashboard display error [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #32753:
URL: https://github.com/apache/superset/issues/32753#issuecomment-2736609569

   <!-- Greeting -->
   @mvaullerin Hello there! I'm here to help you with any bugs, questions, or contributions you have regarding Superset. Let's work together to resolve your issue.
   
   <!-- Answer -->
   I found a similar closed issue that might be relevant to your problem. The issue titled "Superset 4.1.0RC2 - New Sankey charts cannot be embedded = 'Guest user cannot modify chart payload'" was resolved by a pull request that fixed the embedded charts issue <sup>[[1]](https://github.com/apache/superset/issues/30205)</sup>. 
   
   Additionally, there is an open issue discussing a similar problem where the `query_context` field needs to be populated to resolve errors with embedded charts. A potential solution involves fixing the import/export process to include the `query_context`. A commit was made on a fork to address this issue, and a pull request has been submitted to the main repository <sup>[[2]](https://github.com/apache/superset/issues/28446)</sup>.
   
   You might want to check if the pull request or the commit mentioned in the open issue can help resolve your problem.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e193eeea-ac7a-47d1-82d8-087e07b1c970?feedback_type=other)</sup>
   


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] Charts in Embedded Dashboard display error [superset]

Posted by "mvaullerin (via GitHub)" <gi...@apache.org>.
mvaullerin closed issue #32753: Charts in Embedded Dashboard display error
URL: https://github.com/apache/superset/issues/32753


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org