Android GoogleSignInOptions Error code: 12500 on requestIdToken With valid serverClientId
<p>Android GoogleSignInOptions Error code: 12500 on requestIdToken With valid serverClientId </p>

<pre><code>gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestEmail()
                .requestIdToken(getString(R.string.google_server_client_id))               
                .build();
</code></pre>

<p>it returns fail with code: 12500</p>

<pre><code>gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestEmail()              
                .build();
</code></pre>

<p>this code works but idToken is null </p>