Skip to content

🐛 Bug Report: Can't create new user #6249

@develocode777

Description

@develocode777

👟 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@email.com',
                    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?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ezgif com-video-to-gif-2

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingproduct / authFixes and upgrades for the Appwrite Auth / Users / Teams services.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions