https://appwrite.io/docs/references/cloud/client-flutter/account#createPhoneSession
Document : "Sends the user an SMS with a secret key for creating a session. If the provided user ID has not be registered, a new user will be created. "
I'm using a user ID that is already registered but when I use it : "https://appwrite.io/docs/references/cloud/client-flutter/account#createPhoneSession" I get the following error
AppwriteException (AppwriteException: document_already_exists, Document with the requested ID already exists. Try again with a different ID or use ID.unique() to generate a unique ID. (409))
So you can not use a registered user to make phone seesion - why not?
I'm using Cloud and Flutter.
Recommended threads
- Deep Linking & Password reset
I am using react native with expo. I want to implement deep link with the url recived via email. So when clicked the link it opens my app. I havent ever used de...
- Current User is Not authorized
recreating same Thread
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...