403 problem when excel upload

Hi All,
I just upgrade 1.31.1 to test write_stream(Which is amazing btw), but during that I encounter 403 problem on my ongoing locally running project.


My code is

uploaded_file = st.file_uploader('Excel upload')
# st.write(uploaded_file)
if uploaded_file is None:
    st.stop()
else:
    with st.spinner('Analyzing Excel File'):
        b = pd.ExcelFile(uploaded_file)
        if len(b.sheet_names) > 1:
            sn = st.selectbox('Sheets: ', b.sheet_names)
            df = pd.read_excel(uploaded_file, sheet_name=sn)

Please help~

Best Regards

Hi @oliverjia . I think from the last few days so many people are getting the same while uploading any file in new streamlit version. Once try with downgrade the streamlit version.

:face_exhaling: just took 2 days to modify with st.write_stream :face_with_head_bandage: Heartbroken :broken_heart:

My suggestion is to open a issue in GitHub!!

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