# Error: Request failed with status code 403

**URL:** <https://discourse.jupyter.org/t/error-request-failed-with-status-code-403/6040>\
**Category:** Binder\
**Tags:** help-wanted\
**Created:** [September 18, 2020, 8:27pm UTC](https://discourse.jupyter.org/t/error-request-failed-with-status-code-403/6040 "2020-09-18T20:27:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tiago](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@Tiago](https://discourse.jupyter.org/u/Tiago)\
**Post date:** [September 18, 2020, 8:27pm UTC](https://discourse.jupyter.org/t/error-request-failed-with-status-code-403/6040/1 "2020-09-18T20:27:16Z")

</div>

Hi,

I made an [image recognition app](https://hub.gke.mybinder.org/user/tiagogiraldo-se-ish_recognition-sh2lp5z1/proxy/8501/?token=8dnbanQGQ-6b827AR8PPSg) 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?

---

<div class="post-metadata">

**Author:** ![Tiago](https://avatars.discourse-cdn.com/v4/letter/t/f0a364/32.png) [@Tiago](https://discourse.jupyter.org/u/Tiago)\
**Post date:** [September 20, 2020, 4:17am UTC](https://discourse.jupyter.org/t/error-request-failed-with-status-code-403/6040/2 "2020-09-20T04:17:55Z")

</div>

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.
