Databricks import api with lakeview dashboard "error_code":"INVALID_PARAMETER_VALUE"

AndyM
New Contributor II

Hi Community!

I was trying to use the import api to replicate a lakehouse dashboard in a workspace but I keep bumping into INVALID_PARAMETER_VALUE error. After spending some time with getting the "content" property to (probably) correct base64 string format I am not sure could it still contribute to this issue since when the base64 string was invalid it was quite clearly indicated in the error messages. 

Current error message:

{"error_code":"INVALID_PARAMETER_VALUE","message":"The zip file may not be valid or may be an unsupported version."}

SergeRielau
Databricks Employee
Databricks Employee

There may be more information in the log. Look for "Cannot parse the zip archive."