File_uploader - AxiosError: Request failed with status code 403

I have a streamlit app deployed on EC2’s behind an AWS ALB. When I try to upload a file I’m getting a 403 error. I can resolve this by disabling XRSF protection but what is a solution for a production env? It also oddly fails on an upload every now and then with status code 400.

Python=3.8
Streamlit=1.30.0

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.