GoogleAuthException: UNREGISTERED_ON_API_CONSOLE when trying to use Google Sheets API V4

Viewed 1283

I have registered my app on the API Console API Console

You can see here that the SHA 1 key matches SHA 1 key from console

And the package name from the manifest matches as well manifest

App signing is configured app signing

And is in use by the debug build enter image description here

And the sheets API is enabled
enter image description here

And yet every time my code tries to interact with a sheet I get an Exception

Caused by: com.google.android.gms.auth.GoogleAuthException: UNREGISTERED_ON_API_CONSOLE

I have done much googling on this, and found many people with the same issue, but the solution for them was to register their debug fingerprint on the API console, which I have done.

I have also generated a separate keystore and key for production, registered that on the API console and then built a signed APK but to no avail.

I have been trying to figure this out for days, I keep coming back to it and not making any headway. What am I missing?

1 Answers
Related