Databricks UI error

jenshumrich
Contributor

I receive this respone when trying to download a csv file:

jenshumrich_0-1723198951857.png

 


adb-737684297741988.8.azuredatabricks.net/ajax-api/2.0/workspace/export?path=/Repos/jhu_admin%40siem...
{
"error_code": "BAD_REQUEST",
"message": "content size (264156426) exceeded the limit 10485760"
}


szymon_dybczak
Esteemed Contributor III

Hi @jenshumrich ,

How you download this CSV? Using GUI or through API?

jenshumrich
Contributor

@szymon_dybczak I am using the GUI (see the screenshot in the original post): File marked -> Three dots -> Export

szymon_dybczak
Esteemed Contributor III

Hi @jenshumrich ,

Yep, I can confirm. I've uploaded CSV file that has size greater than 10 mb and received the same error.
I think we are hitting the same limitation as is described in case of REST API /workspace/export endpoint, which states:

 If the limit (10MB) is exceeded, exception with error code is thrown

As a workaround, you can use dbutils to copy this file to your cloud storage and download it from there.