ERROR: Cannot load Streamlit frontend code

I’m facing the following issue, when running a Streamlit Application. It’s really strange as this issue wasn’t happening and now happens when certain pages are loaded. There has been no code changes. The app is deployed using GCP and Google Cloud Run. The issue only seems to occur for particular visualisations in the app not all of the visualisations. I’m based in the US. The Streamlit version is 1.34.0 and the python version is 3.11.9. Why does this occur? It doesn’t seem to resolve when following the advice to clear the browser cache or clearing the cache of the app.

Network issue:
Cannot load Streamlit frontend code. This can happen when you update Streamlit while a Streamlit app is running.
To fix this, simply reload this app by pressing F5, Ctrl+R, or Cmd+R.
If the error persists, try force-clearing your browser’s cache as described here