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

Yes!
You need to add this on the config.tml file:

[server]
enableXsrfProtection = false
enableCORS = false

That worked for me. More on config files: Configuration - Streamlit Docs

1 Like