<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cannot export embedded dashboard widget as CSV or other formats except PNG in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cannot-export-embedded-dashboard-widget-as-csv-or-other-formats/m-p/135328#M50324</link>
    <description>&lt;P&gt;I’ve integrated a Databricks dashboard into my web application for all my users, following the guidelines in this article:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dashboards/embedding/external-embed" target="_blank" rel="noopener"&gt;Embedding Databricks Dashboards&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This integration worked perfectly initially. However, I’m now encountering an issue with exporting widgets from the embedded dashboard. When I attempt to export a widget, the file doesn’t download and I get an error message: "&lt;EM&gt;Failed - Needs authorization&lt;/EM&gt;" or "&lt;EM&gt;File wasn't available on site&lt;/EM&gt;." This issue occurs for all export formats, except PNG.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_0-1760793195625.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20837i040BD3EF3163454F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_0-1760793195625.png" alt="rajg_0-1760793195625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_1-1760793235941.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20838iE9D2EB2198D2732C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_1-1760793235941.png" alt="rajg_1-1760793235941.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_2-1760793253909.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20839i6451648027EDBE0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_2-1760793253909.png" alt="rajg_2-1760793253909.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I am able to export widgets directly from my Databricks portal without any issues.&lt;/P&gt;&lt;P&gt;Could this be a code-related issue, or is it something that needs to be addressed on the Databricks Admin side?&lt;/P&gt;</description>
    <pubDate>Sat, 18 Oct 2025 13:14:50 GMT</pubDate>
    <dc:creator>rajg</dc:creator>
    <dc:date>2025-10-18T13:14:50Z</dc:date>
    <item>
      <title>Cannot export embedded dashboard widget as CSV or other formats except PNG</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-export-embedded-dashboard-widget-as-csv-or-other-formats/m-p/135328#M50324</link>
      <description>&lt;P&gt;I’ve integrated a Databricks dashboard into my web application for all my users, following the guidelines in this article:&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dashboards/embedding/external-embed" target="_blank" rel="noopener"&gt;Embedding Databricks Dashboards&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This integration worked perfectly initially. However, I’m now encountering an issue with exporting widgets from the embedded dashboard. When I attempt to export a widget, the file doesn’t download and I get an error message: "&lt;EM&gt;Failed - Needs authorization&lt;/EM&gt;" or "&lt;EM&gt;File wasn't available on site&lt;/EM&gt;." This issue occurs for all export formats, except PNG.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_0-1760793195625.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20837i040BD3EF3163454F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_0-1760793195625.png" alt="rajg_0-1760793195625.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_1-1760793235941.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20838iE9D2EB2198D2732C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_1-1760793235941.png" alt="rajg_1-1760793235941.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rajg_2-1760793253909.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/20839i6451648027EDBE0C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rajg_2-1760793253909.png" alt="rajg_2-1760793253909.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Interestingly, I am able to export widgets directly from my Databricks portal without any issues.&lt;/P&gt;&lt;P&gt;Could this be a code-related issue, or is it something that needs to be addressed on the Databricks Admin side?&lt;/P&gt;</description>
      <pubDate>Sat, 18 Oct 2025 13:14:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-export-embedded-dashboard-widget-as-csv-or-other-formats/m-p/135328#M50324</guid>
      <dc:creator>rajg</dc:creator>
      <dc:date>2025-10-18T13:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot export embedded dashboard widget as CSV or other formats except PNG</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-export-embedded-dashboard-widget-as-csv-or-other-formats/m-p/135594#M50386</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/190920"&gt;@rajg&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Based on the link you shared, it looks to me like you have an external embedding situation? If so, this is a feature that is not currently available, but it is a commonly requested feature. External dashboard embedding is currently in Public Preview, which means features could change by the time it is generally available.&lt;/P&gt;
&lt;P&gt;It makes sense that you can export from within Databricks, as you would need to be authenticated to view that data. With &lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dashboards/embedding/basic" target="_self"&gt;basic embedding&lt;/A&gt;, which requires users to be authenticated, I imagine this would also work.&lt;/P&gt;
&lt;P&gt;If your use case is already using basic embedding (i.e. authenticated Databricks users), then the issue seems like your browser is blocking third-party cookies. When you try to export a file like a CSV, your browser initiates a new download request to the Databricks domain from within the embedded iframe. If your browser's privacy settings block third-party cookies, it prevents your Databricks authentication cookie from being sent with that request. Databricks then sees an unauthenticated request and blocks the download, resulting in the "Failed - Needs authorization" error. PNG doesn't need to go all the way back to Databricks to generate the export, which is why it works but all of the other ones don't.&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/azure/databricks/dashboards/embedding/#troubleshooting-embedded-dashboards" target="_self"&gt;Source for allowing 3rd party cookies&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 21:35:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-export-embedded-dashboard-widget-as-csv-or-other-formats/m-p/135594#M50386</guid>
      <dc:creator>stbjelcevic</dc:creator>
      <dc:date>2025-10-21T21:35:46Z</dc:date>
    </item>
  </channel>
</rss>

