<?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 Dashboard &amp;quot;Export as HTML&amp;quot; fails for job-associated notebook dashboards (UI only) in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/dashboard-quot-export-as-html-quot-fails-for-job-associated/m-p/161174#M54996</link>
    <description>&lt;DIV&gt;&lt;DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;BR /&gt;A notebook is scheduled to run as a Databricks Job. The notebook has an associated dashboard. When viewing the dashboard from the job run, exporting via "Export as HTML" fails.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrim_0-1782980409213.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28501iC3B55C4997058D18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrim_0-1782980409213.png" alt="amrim_0-1782980409213.png" /&gt;&lt;/span&gt;&lt;P class=""&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;BR /&gt;When clicking "Export as HTML," the download fails and the following error is displayed:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrim_1-1782980423193.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28502iC3EB99653169B5CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrim_1-1782980423193.png" alt="amrim_1-1782980423193.png" /&gt;&lt;/span&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;{"error_code":"INVALID_PARAMETER_VALUE","message":"Path (???) doesn't start with '/'"}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Databricks Runtime: 16.4.27&lt;/LI&gt;&lt;LI&gt;Cluster: d3.2xlarge driver, d3.2xlarge workers, 1–4 workers, On-demand and Spot (falls back to On-demand), autoscaling enabled&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Reproduction / isolation:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;Method Result &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Export from dashboard in interactive mode&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Export from job-run dashboard via UI ("Export as HTML")&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Fails (error above)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Export from job-run dashboard via API (api/2.2/jobs/runs/export)&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 02 Jul 2026 08:22:20 GMT</pubDate>
    <dc:creator>amrim</dc:creator>
    <dc:date>2026-07-02T08:22:20Z</dc:date>
    <item>
      <title>Dashboard "Export as HTML" fails for job-associated notebook dashboards (UI only)</title>
      <link>https://community.databricks.com/t5/data-engineering/dashboard-quot-export-as-html-quot-fails-for-job-associated/m-p/161174#M54996</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Context:&lt;/STRONG&gt;&lt;BR /&gt;A notebook is scheduled to run as a Databricks Job. The notebook has an associated dashboard. When viewing the dashboard from the job run, exporting via "Export as HTML" fails.&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrim_0-1782980409213.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28501iC3B55C4997058D18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrim_0-1782980409213.png" alt="amrim_0-1782980409213.png" /&gt;&lt;/span&gt;&lt;P class=""&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;BR /&gt;When clicking "Export as HTML," the download fails and the following error is displayed:&lt;/P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="amrim_1-1782980423193.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/28502iC3EB99653169B5CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="amrim_1-1782980423193.png" alt="amrim_1-1782980423193.png" /&gt;&lt;/span&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN&gt;{"error_code":"INVALID_PARAMETER_VALUE","message":"Path (???) doesn't start with '/'"}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P class=""&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL class=""&gt;&lt;LI&gt;Databricks Runtime: 16.4.27&lt;/LI&gt;&lt;LI&gt;Cluster: d3.2xlarge driver, d3.2xlarge workers, 1–4 workers, On-demand and Spot (falls back to On-demand), autoscaling enabled&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;STRONG&gt;Reproduction / isolation:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV class=""&gt;Method Result &lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Export from dashboard in interactive mode&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Export from job-run dashboard via UI ("Export as HTML")&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Fails (error above)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Export from job-run dashboard via API (api/2.2/jobs/runs/export)&lt;/TD&gt;&lt;TD&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Works&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jul 2026 08:22:20 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dashboard-quot-export-as-html-quot-fails-for-job-associated/m-p/161174#M54996</guid>
      <dc:creator>amrim</dc:creator>
      <dc:date>2026-07-02T08:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard "Export as HTML" fails for job-associated notebook dashboards (UI only)</title>
      <link>https://community.databricks.com/t5/data-engineering/dashboard-quot-export-as-html-quot-fails-for-job-associated/m-p/163128#M55099</link>
      <description>&lt;P&gt;Greetings&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/150473"&gt;@amrim&lt;/a&gt;&amp;nbsp;,&amp;nbsp;this is a well-scoped report, and your isolation table does most of the diagnostic work for us.&lt;/P&gt;
&lt;P&gt;Thanks for laying it out that way.&lt;/P&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;The behavior you documented is consistent, and it points at the product, not your notebook or cluster. Same dashboard, three export paths, and only the job-run UI button fails while interactive export and the Jobs API export both work. That rules out the dashboard content, the runtime, and the cluster, so the DBR 16.4.27 and cluster details, while good to include, are almost certainly not the cause here.&lt;/P&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;The error you hit, &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;{"error_code":"INVALID_PARAMETER_VALUE","message":"Path (???) doesn't start with '/'"}&lt;/CODE&gt;, is the path validator rejecting an invalid or empty value: it expected an absolute workspace path and got something that is not one. This matches a UI-side regression that has been reproduced internally, affecting notebook dashboards viewed from a job run. The Jobs API path avoids the problem because &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;runs/export&lt;/CODE&gt; takes the &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;run_id&lt;/CODE&gt; directly and never has to resolve a workspace path, which is why that route keeps working.&lt;/P&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;Two workarounds while the fix is pending:&lt;/P&gt;
&lt;OL class="[li_&amp;amp;]:mb-0 [li_&amp;amp;]:mt-1 [li_&amp;amp;]:gap-1 [&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-decimal flex flex-col gap-1 pl-8 mb-3"&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Export via the Jobs API instead of the job-run UI. This is the reliable route, and the one to use if you need this run's exact output:
&lt;UL class="[li_&amp;amp;]:mb-0 [li_&amp;amp;]:mt-1 [li_&amp;amp;]:gap-1 [&amp;amp;:not(:last-child)_ul]:pb-1 [&amp;amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-1 pl-8 mb-3"&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Endpoint: &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;POST /api/2.2/jobs/runs/export&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Parameters: &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;run_id&lt;/CODE&gt; for the run, and &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;views_to_export=DASHBOARDS&lt;/CODE&gt; (use &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;ALL&lt;/CODE&gt; if you also want the notebook code)&lt;/LI&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Response: one HTML string per dashboard in the &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;views&lt;/CODE&gt; array&lt;/LI&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Caveat: this endpoint only exports notebook task runs, so it fits your case but will not cover non-notebook task types.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI class="font-claude-response-body whitespace-normal break-words pl-2"&gt;Open the notebook and its dashboard in interactive mode and export from there, which you already confirmed works. One thing to keep in mind: interactive export re-renders with current data, so it will not reproduce the exact snapshot from that specific job run. Use this only when a fresh render is acceptable.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;If you have not already, I'd file this with Databricks support and include your workspace, the &lt;CODE class="bg-text-200/5 border border-0.5 border-border-300 text-danger-000 whitespace-pre-wrap rounded-[0.4rem] px-1 py-px text-[0.9rem]"&gt;run_id&lt;/CODE&gt;, and a rough timestamp so they can tie it to the request logs, then reference this thread. That gives whoever picks it up a clean starting point.&lt;/P&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;Until the fix ships, the API export is your dependable path, and it is the better option for anything you want to automate anyway.&lt;/P&gt;
&lt;P class="font-claude-response-body break-words whitespace-normal"&gt;Regards,&lt;BR /&gt;Louis&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2026 20:09:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/dashboard-quot-export-as-html-quot-fails-for-job-associated/m-p/163128#M55099</guid>
      <dc:creator>Louis_Frolio</dc:creator>
      <dc:date>2026-07-15T20:09:57Z</dc:date>
    </item>
  </channel>
</rss>

