Cannot export embedded dashboard widget as CSV or other formats except PNG

rajg
New Contributor

I’ve integrated a Databricks dashboard into my web application for all my users, following the guidelines in this article:
Embedding Databricks Dashboards.

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: "Failed - Needs authorization" or "File wasn't available on site." This issue occurs for all export formats, except PNG.

rajg_0-1760793195625.png

rajg_1-1760793235941.pngrajg_2-1760793253909.png

Interestingly, I am able to export widgets directly from my Databricks portal without any issues.

Could this be a code-related issue, or is it something that needs to be addressed on the Databricks Admin side?