How to Fix Export Failures with 417 Status Code When Exporting Dashboards with Large Data via API
Issue Use Case:
If you encounter an export failure with a 417 status code and an “Expectation Failed” message while exporting dashboards configured with a large amount of data via the Export Dashboard API, follow the steps below to resolve it:
Solution Details:
This issue occurs due to a connection timeout. When exporting a dashboard with large data via the Export API, the connection timeout may occur, causing the export process to fail. The default Timeout value is 240 seconds. If the export process takes longer than this, the connection will time out, and the export will fail. To resolve this, you can increase the DataServiceTimeout value inside the Bold BI configuration file.
Please follow the detailed steps below:
Steps to Resolve:
1. Open the bi/config.xml file under Configuration Settings.
You can access the configuration editor using the following URL:
http://{domain_name}/ums/administration/config-editor
2. Update the DataServiceTimeout Value
Set the DataServiceTimeout value according to your requirements.
3. Restart the Application
After updating the configuration, restart the application to apply the changes.
Additional References
How to export dashboards from the UI
How to export dashboards using the API