AxiosError: Request failed with status code 400 on GCP

Hi when i try to upload pdf/ img file on my streamlit app, it is throwing AxiosError: Request failed with status code 400. I am using streamlit===1.39.0 version. In local machine it works fine. issue happens when we deploy it in GCP cluster