cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Databricks App - Streamlit file Upload issue

SanthanaSelvi06
New Contributor III

I used this code snippet from cookbook and created a custom databricks streamlit app to upload files to the volume but i am getting the following error even before start uploading it to volume. Using file_uploader in streamlit while uploading the file from my computer, I got this error.

AxiosError: Request failed with status code 403

Did anyone faced similar issue? FYI I am using databricks community/free edition

 
 
1 ACCEPTED SOLUTION

Accepted Solutions

SanthanaSelvi06
New Contributor III

I am able to upload the file after whitelisting the app url

View solution in original post

3 REPLIES 3

szymon_dybczak
Esteemed Contributor III

Hi @SanthanaSelvi06 ,

Could you check if your app service principal has following permissions?

szymon_dybczak_0-1755683868252.png

 

Hi @szymon_dybczak

Yes I checked it. My app service principal had the permissions you mentioned above. And I found that while uploading the file itself I got the error

SanthanaSelvi06
New Contributor III

I am able to upload the file after whitelisting the app url

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now