
Hey guys! Dealing with an issue with login by phone verification. I managed to pull it off about a week ago but for the life of me can't seem to make it work again. I can create a token with account.CreatePhoneToken, that's all being logged in console and seems fine. However, I cannot get past const session = await account.createSession(userId, verificationCode);
The userId is coming from the token and the verificationCode is the 6 digit code coming from the text I recieve. Am I missing something obvious here?

for context the exact error is [AppwriteException: Invalid token passed in the request.]
Recommended threads
- Show execution status 500 unable to set ...
I want to set the labels at the time user signup to my application , all things work , users data save in auth, updateprefs set , a verification email sent , bu...
- Multi-tenant setup with different passwo...
Iβm building a multi-tenant SaaS app using a single project. Each tenantβs data is stored in a separate Database (one DB per tenant). Iβm using Auth for us...
- Failing to get user account after login ...
Running the attached integration test on Windows platform I get the following error. Any idea of what I'm doing wrong ? π Starting... 01:22 +0: Appwrite Authe...
