AxiosError: Request failed with status code 403

Strangely, when I changed the port and the address, it worked.

streamlit run app.py --server.port 5000 --server.address 0.0.0.0

I am facing the same issue and downgrading or upgrading the version is not helping to solve the issue. kindly, suggest any other solution if present.

facing the same issue.

Thank you so much, it saved me tons of debugging

Would this setting cause any potential security risk?

Is there a fix for this problem? Running pythong 3.10.9 and streamlit 1.39.0 and receiving this error.

Still looking for a fix for the AxiosError: Request failed with status code 403 - please respond if you found a (secure) solution for an enterprise application hosted on Azure web apps, using Docker containers.

See here for some solution I found: File upload fails with Error: Request failed with status code 403 - #86 by al-yakubovich