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

use

streamlit run main.py --server.enableXsrfProtection false

This should work if you are on working locally

1 Like

Thanks, I’m hoping I have now got round this

1 Like

What do you mean by “adding authentication”? The responders you list did not add any authentication, but rather disable XSRF - or did I miss something?

1 Like