MalformedError: Service account info was not in the expected format, missing fields token_uri, client_email

I forked this app: https://blankcheckdb.streamlit.app/

I want to edit and deploy my own version but since the secrets.toml file isn’t committed to github with the repo, I don’t know how to configure the secrets.toml file. Here is my current config:

[gcp_service_account]
type ="service_account"

Error message received:

“MalformedError: Service account info was not in the expected format, missing fields token_uri, client_email.”

Did you try adding the missing fields token_uri and client_email?

Yes, I tried to like this:

Got this error:
“MalformedError: No key could be detected”

Apparently this can happen when the private_key is invalid.
Google Service No Key could be detected - Stack Overflow.

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