Error: Request failed with status code 403

Hi,

I made an image recognition app using streamlit to create the page and not a jupyter notebook. It works well locally.

Once the app loads, there is a button to load the image, when it runs, there is an error and the message is:

Error: Request failed with status code 403

My questions are: Are there any restrictions on mybinder to load data? Does anyone know how I could solve this?

This problem has been solved.

In the file stramlite_call.py that runs the streamlite package, I added the lines:

“–server.enableWebsocketCompression=false”,
“–server.enableXsrfProtection=false”,

By doing this, the app gets permissions to upoad files to the page to be evaluated by the rating.

1 Like