Bug 571105 - Getting error "If you wish to use a different email address you must first change the primary email address associated with your account" when trying to change address
Summary: Getting error "If you wish to use a different email address you must first ch...
Status: RESOLVED FIXED
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: Accounts.eclipse.org (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dummy accounts inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-10 23:57 EST by Nasser Grainawi CLA
Modified: 2021-02-11 15:35 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nasser Grainawi CLA 2021-02-10 23:57:46 EST
Hello,

I'm getting this error "If you wish to use a different email address you must first change the primary email address associated with your account" when I try to change my email address on https://accounts.eclipse.org/users/ngrainawi/edit; however, I don't see any way to "change the primary email address" other than this one field.

I'm trying to change it to quic_nasserg@quicinc.com.

Thanks,
Nasser
Comment 1 Nasser Grainawi CLA 2021-02-10 23:59:25 EST
Also, when I try to add this email address as an additional Gerrit email address, I click the verification link and I get this error from Gerrit:

Error 422 (Unprocessable Entity): invalid token

Endpoint: /r/config/server/email.confirm
Comment 2 Eric Poirier CLA 2021-02-11 08:36:07 EST
Hi Nasser,

You should be getting this error if you have the "Re-execute ECA" checkbox clicked. It's not possible to update an email address at the same time as re-executing your ECA.

Can you tell me if you have clicked on this checkbox before saving the form?

Thanks.
Comment 3 Nasser Grainawi CLA 2021-02-11 09:20:18 EST
Hi Eric,

Yes, I did have it checked!

I've changed the email now (and then separately was able to "Re-execute ECA"). However, now I get "Authentication failed." when trying to log into Gerrit (https://git.eclipse.org/r).
Comment 4 Eric Poirier CLA 2021-02-11 09:24:56 EST
@webmaster,

Is it possible that the email change takes a little bit of time before Gerrit is synced?
Comment 5 Nasser Grainawi CLA 2021-02-11 10:46:23 EST
(In reply to Eric Poirier from comment #4)
> @webmaster,
> 
> Is it possible that the email change takes a little bit of time before
> Gerrit is synced?

Looks like it's still failing with the same error as of right now.
Comment 6 Eclipse Webmaster CLA 2021-02-11 11:36:06 EST
(In reply to Eric Poirier from comment #4)

It should be 'instant' once the mail change has been processed by the system.  I've added some debugging details to see if something is failing.

In the mean time I've run things manually so let us know if that resolves things.

-M.
Comment 7 Nasser Grainawi CLA 2021-02-11 11:37:49 EST
(In reply to Eclipse Webmaster from comment #6)
> (In reply to Eric Poirier from comment #4)
> 
> It should be 'instant' once the mail change has been processed by the
> system.  I've added some debugging details to see if something is failing.
> 
> In the mean time I've run things manually so let us know if that resolves
> things.
> 

Just tried again now and it still fails the same way. :(
Comment 8 Nasser Grainawi CLA 2021-02-11 15:35:13 EST
(In reply to Nasser Grainawi from comment #7)
> (In reply to Eclipse Webmaster from comment #6)
> > (In reply to Eric Poirier from comment #4)
> > 
> > It should be 'instant' once the mail change has been processed by the
> > system.  I've added some debugging details to see if something is failing.
> > 
> > In the mean time I've run things manually so let us know if that resolves
> > things.
> > 
> 
> Just tried again now and it still fails the same way. :(

And now it works! I don't know if anyone did anything more, but thanks for the help!