
Hello, I am trying to appwrite functions & as part of it when i integrate(login to github & give access to specific repo) with github on redirection I keep getting below 409
Error 409 A user with the same email already exists in the current project.
Type user_email_already_exists
what I tried:
- revoking appwrite permissions on github
- uninstall appwrite github app multiple time .
Note: I tried integrating this repo on diff appwrite test account & then everything went well. When I am trying to bring this into our main account this issue keep on happening. Any help here is really appreciated.

Try running appwrite account listIdentities
in CLI. Do you see an Identity with that email address?

Thanks for your reply. When I run that command, i see 0 identities. appwrite account listIdentities total : 0 identities [] ✓ Success

Just checking you definitely have the CLI in the correct project?

I double checked that & sure I am on correct project. I can see projectId in redirection url (url that brings back to appwrite after github permissions are set )as well.

Is this on Appwrite Cloud?

yes it is cloud version

Do you have multiple accounts on cloud?

Yes , I did connected this repo to POC account(SSO With github account) & then tried to bring it into new account.
Before I tried attaching github into new account
- i clean up appwrite permissions on github,
- deleted app installed on github
After that i tried to relink it with new account that is created based on email . That is when i am facing this issue.
Is it possible that POC account created with Github account has a sso token that is trying to interfere with new linki g ?
I trieddeleting POC account altogether but that also didnt helped.
Any help here is highly appreciated.
Thanks in advance !!!

Yes, the GitHub account is probably linked to your other Appwrite account...you probably shouldn't have deleted your other account...

I realized that now after deleting.
Now when i am trying to recreate account using github account, i keep getting failure.
Is there any way i can come out of this ?
Recommended threads
- Do I need Redis if using appwrite
Saw appwrite has built-in redis, but does this work for listdocuments, getdocument and other query etc? what does the appwrite redis covers under the hood?
- Is p-limit compatible with Appwrite?
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call: ```js await Promise.allSettled([ ...
- Issue creating team membership with USER...
Log time ago it worked without any issue when I made a demo app but now it is not working in cloud function. code ```await awTeams ?.createMembe...
