appwrite icon indicating copy to clipboard operation
appwrite copied to clipboard

🐛 Bug Report: Can't create new user

Open develocode777 opened this issue 1 year ago • 5 comments

👟 Reproduction steps

Whatever I put in userId, email, password or name I get AppwriteException: user_already_exists. This happens only in one app, if I use the same code in a new app it works. Is there some limit per app or something?

ElevatedButton(
            onPressed: () async {
              Account accountTemp = Account(globals.appWriteClient);
              try {
                await accountTemp.create(
                    userId: ID.unique(),
                    email: '[email protected]',
                    password: 'password21312!@',
                    name: 'sdadasdada');
              } catch (e) {
                print(e);
              }
            },
            child: Text('test')),

👍 Expected behavior

Should create a new user

👎 Actual Behavior

Throws error AppwriteException: user_already_exists, A user with the same id, email, or phone already exists in this project. (409)

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

1.4.2

👀 Have you spent some time to check if this issue has been raised before?

  • [x] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ezgif com-video-to-gif-2

develocode777 avatar Sep 15 '23 09:09 develocode777