Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting duplicate fingerprint error while updating SHA-1 fingerprint for Android oAuth2 Client ID

Just a few days ago I have changed my SHA-1 fingerprint (from signing to dev) for testing purpose. Now I want to go back to signing SHA-1 but it's not allowing me to add live SHA-1 fingerprint. It gives me duplicate fingerprint error.

I am sure that we do not have any other client id already registered with the app's fingerprint. We don't have any deleted project as well. My app is already in the Store I can't simply change the package or the keystore to make it work.

While updating SHA-1 fingerprint in the Google Cloud Platform developer console, I get the following popup:

Duplicate fingerprint

The fingerprint you specified is already used by an Android OAuth2 client ID in this project or another project


Anyone with a similar problem that managed to reach a solution?

like image 963
Sani Trivedi Avatar asked Oct 18 '22 04:10

Sani Trivedi


1 Answers

You have to go to your API console and undelete your old project that contains the OAuth ID that you are trying to use for your new project.

One of the previous projects that I had already deleted still contained it.
  • You couldn't add the new OAuth because it "already existed" even though your project did not contain that ID already.

When you delete a project in the API console, the OAuth IDs associated with it seem to not get deleted with it.

This should really be changed!

like image 173
DIDIx13 Avatar answered Oct 21 '22 04:10

DIDIx13