File upload fails with Error: Request failed with status code 403

I have 3 streamlit apps running - everything worked fine as of Tuesday. Today, all of them fail to upload a file (of any size) with Error: Request failed with status code 403. Any help would be appreciated.

(In addition, link change is also a problem)

Thank you!

1 Like

Exactly the same problem with me. Attached is the screenshot of the file upload button after I tried uploading a file.

Is this error related to the URL change?

I’m also facing the same problem from today.
Is this happening due to the link change? Can anyone advise a solution to this ?

Same problem here.
After some googling I tried putting these in my config.toml:


…didn’t work.

1 Like

Same for me, thanks for opening this issue. My app also has the same problem. Runs fine locally, but upload fails on streamlit cloud.


enableCORS = false
enableXsrfProtection = false
enableWebsocketCompression = false

Does not help

1 Like

Hey @svenstehle @lasinludwig @ADISH_A.P @alkadriishere @Anna_Sintsova

Thanks for reporting the issue. We are aware of it and have reverted the URL change.

This should work again, but if it’s still an issue, please let us know :slight_smile:



Thanks @Charly_Wargnier .It is working now!

1 Like

Great to hear, thanks for confirming @ADISH_A.P!

Thank you for your quick response!

1 Like

Thank you for the fix. I can confirm that it works fully on my side now.

1 Like

Same for me, thanks for the quick fix! It works again :slight_smile:

1 Like