Rank 2: Process
My Signup Form does not seem to work and the Auth is very hard:
I attached the signup and the AuthContext:
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 2: Process
My Signup Form does not seem to work and the Auth is very hard:
I attached the signup and the AuthContext:
What doesn't work? Are you getting errors? What's the error?
Rank 2: Process
Yes, the error I get is email is already taken even when the user email is a new one and does not exist in database
Rank 2: Process
I can see the users that singup on the database
What is the exact error from this
console.error("Registration error:", err);
Rank 2: Process
Okay I am getting two errors
Rank 2: Process
POST https://cloud.appwrite.io/v1/account 409 (Conflict)
Rank 2: Process
This is the second: AuthContext.jsx:71 Registration error: AppwriteException: A user with the same id, email, or phone already exists in this project. at _Client.<anonymous> (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=2d1e6e71:466:15) at Generator.next (<anonymous>) at fulfilled (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=2d1e6e71:13:24)
Rank 2: Process
I created seven users
Could you send a screenshot of just the name/identifier like this
Rank 2: Process
Okay let me do that
Rank 2: Process
This is it
Did you create those manually?
Rank 2: Process
yes
Rank 2: Process
I did
I don't think it'll do anything but you should await registerUser when you're calling it
open dev tools in the browser and go to the network tab and see the post request it's making
but honestly I don't see what could be the issue rn
Rank 2: Process
WOW, This is peak frustration. For over two weeks with an ordinary auth bug
Rank 2: Process
Let me try this
Honestly I've never ran into this issue, I think it's something to do with how you've setup your context.
Rank 2: Process
I want to try the signup without using context again
Rank 2: Process
Thanks a lot @Kenny I really appreciate. It did not work but it is super late here. I will troubleshoot in the morning
A user with the same id, email, or phone already exists in this project.
Rank 2: Process
For some weird reason, I created a new project overnight and the auth seems to work