Back

Can't create new user - Flutter

  • 0
  • Self Hosted
  • Flutter
Drake
15 Sep, 2023, 18:42

are you able to check the request body setn to Appwrite?

TL;DR
User is unable to create a new user in Flutter. The issue may be related to a bug where a specific phone number is already in use by another user. Upgrading to Flutter version 11.0.0 did not resolve the issue. The user integrated SMS authentication with Twilio, but even after removing it, the bug persisted. The Flutter SDK version is unknown. No solution or further troubleshooting steps are mentioned in the thread.
Drake
15 Sep, 2023, 18:43

maybe using the dart dev tools' network inspector?

develocode777
15 Sep, 2023, 19:08
develocode777
15 Sep, 2023, 19:09

maybe it's from the flutter sdk, I have not tried with command line

Drake
15 Sep, 2023, 19:10

ya so this is the same payload as mine

Drake
15 Sep, 2023, 19:12

what version of the flutter SDK?

develocode777
15 Sep, 2023, 19:13

i have to mention that i integrated sms auth with twilio, thats how i got into this bug because i tested with my number, but i removed it and the bug still persists

develocode777
15 Sep, 2023, 19:14

appwrite: ^9.0.1

develocode777
15 Sep, 2023, 19:22

I just upgraded to 11.0.0 and still the same error

develocode777
15 Sep, 2023, 19:36

even in the dashboard it shows this error, try to create a user with phone number

develocode777
15 Sep, 2023, 19:39
Drake
15 Sep, 2023, 19:41

sorry im stil not able to reproduce 🧐

develocode777
15 Sep, 2023, 19:42

sorry, in the dashboard it's not a bug, a user already had that number

develocode777
15 Sep, 2023, 19:44

i can give you a project in flutter if that helps

Drake
15 Sep, 2023, 19:45

actually i think i know what's going on....

develocode777
15 Sep, 2023, 19:46

what? i am very curious

Drake
15 Sep, 2023, 19:47

you said it's only happening when logged in with a particular user. that user has a phone number, huh?

develocode777
15 Sep, 2023, 19:47

yes

Drake
15 Sep, 2023, 19:47

ya...that phone number is being used for the new account...

develocode777
15 Sep, 2023, 19:49

so it's a bug

Drake
15 Sep, 2023, 19:50

ya. you should be able to get around it by logging out before creating a new account

develocode777
15 Sep, 2023, 19:51

i will try that

develocode777
15 Sep, 2023, 19:52

any idea when it will be fixed?

Drake
15 Sep, 2023, 19:58

not soon

develocode777
15 Sep, 2023, 20:02

ok, thanks, at least the mystery is solved

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more