cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduled job output export

Skr7
New Contributor II

Hi ,
I have a Databricks job that results in a dashboard post run , I'm able to download the dashboard as HTML from the view job runs page , but I want to automate the process , so I tried using the Databricks API , but it says 

{"error_code":"INVALID_PARAMETER_VALUE","message":"Exporting result is only supported for notebook task runs."}

Is there any workaround?

Thank you
SKR7

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @Skr7, You cannot automate exporting the dashboard as HTML using the Databricks API. The Databricks API only supports exporting results for notebook task runs, not for job run dashboards. 

Here's the relevant excerpt from the provided sources:

Export job run results: You can export notebook run results and job run logs for all job types. For notebook job runs, you can export a rendered notebook that can later be imported into your workspace.

This indicates that the export functionality is available for notebook runs but not explicitly for dashboards.

You may need to look into other methods or tools outside of the Databricks API to automate the process.

View solution in original post

2 REPLIES 2

Kaniz
Community Manager
Community Manager

Hi @Skr7, You cannot automate exporting the dashboard as HTML using the Databricks API. The Databricks API only supports exporting results for notebook task runs, not for job run dashboards. 

Here's the relevant excerpt from the provided sources:

Export job run results: You can export notebook run results and job run logs for all job types. For notebook job runs, you can export a rendered notebook that can later be imported into your workspace.

This indicates that the export functionality is available for notebook runs but not explicitly for dashboards.

You may need to look into other methods or tools outside of the Databricks API to automate the process.

Kaniz
Community Manager
Community Manager

Hi @Skr7, Thank you for reaching out to our community! We're here to help you.

To ensure we provide you with the best support, could you please take a moment to review the responses and choose the one that best answers your question? Your feedback not only helps us assist you better but also benefits other community members who may have similar questions in the future.

If you found the answer helpful, consider giving it a kudo. If the response fully addresses your question, please mark it as the accepted solution. This will help us close the thread and ensure your question is resolved.

We appreciate your participation and are here to assist you further if you need it!