Localhost web app credentials error message

Hello,

Can’t seem to figure out an issue I’m having with my app when I try to run it locally. It was working fine before and haven’t changed anything other than my code. The app works fine in the Streamlit cloud host. I’m using VS Code and run the app through the terminal.

I’m using the pandas_gbq package and get the following error when I try to execute one of my queries:

pandas_gbq.exceptions.AccessDenied: The credentials have been revoked or expired, please re-run the application to re-authorize

I haven’t received any notifications from my Google account. I closed out the app in the browser and the IDE, upgraded the pandas_gbq package with no effect.

Much obliged for any help.

I saw the private key id in my local secrets was different than the host app so I updated it but still get the same error message.