0

I have an old Superset dashboard which was backed up to JSON and I'm now trying to load into the hosted version of Preset. Other dashboards I've tested have loaded fine but the Preset GUI hangs when loading this one dashboard. There's no error displayed in the Preset GUI. The browser console returns a generic Error: 500. My assumptions are that either there is a cap on the size of the dashboard file that can be uploaded, or else my file is corrupt in some non-obvious way.

Is there a way of getting more detailed information on the error or else of validating the dashboard JSON template prior to upload?

  • UPDATE! After raising the issue with Preset a workaround was identified. Successful loading of the dashboard template is dependent on the 'Display Name' on a database connection in Preset matching the `database_name` parameter which appear on the `__Slice__` objects in the JSON template you are trying to load. NOTE: The database connection in Preset simply has to have the same Display Name. It does not need to have the same structure or even be live. Temporarily changing the Display Name of an existing connection in Preset will be sufficient. – Virtual Architectures Mar 07 '22 at 11:13

1 Answers1

0

From your description you might be impacted by two bugs that are currently affecting Preset Cloud:

You can submit a support ticket on Preset Support page so that their support team can confirm if the root-cause is indeed that bug and help you modifying the file to import the Dashboard properly.