Intermittent “st_aggrid component failed to load (404)” when deployed on Azure Container

Hi everyone,

I’m running into an intermittent issue with st_aggrid when deploying my Streamlit app on Azure Container.

The app loads fine most of the time, but occasionally I see this error banner:

In the browser console I also see repeated messages like:

  • Failed to load resource: 404 on /component/st_aggrid/main.[hash].js

  • Several AG Grid deprecation warnings

  • “flag allow_unsafe_jscode is on.”

The same app works perfectly local (no errors). This only happens intermittently in the cloud.

Environment:

streamlit==1.43.1

streamlit-aggrid==1.1.7

Thanks in advance, any insights would be really appreciated!

I am having the same issue. I am using the exact same AgGrid configuration that was used in Azure Web App previously with no issue and now three different tables either won’t load and have your same error or will load with minimal formatting and missing elements. Have tried as many approaches to fix as possible but am stuck.