const phoneResponse = await account.createPhoneToken(response.$id, phone);
this gives this error:
OTP error: [AppwriteException: Server Error]
- phone is in the desired format e.g +27 xxx xxx xxx
- i am using expo and tried to update the appwrite sdk still gives the same error
- region used is frankfurt
TL;DR
Issue: `createPhoneToken` function with Expo and Appwrite SDK gives 'Server Error' when called with the phone number in the correct format. Tried updating SDK and changing the server region to Frankfurt but still facing the same issue.
Solution: The error message points towards a server-side problem. Contact Appwrite support for further assistance and troubleshooting on their end.Recommended threads
- API key without database.read/write
I had some issues with my previous API key and I deleted it then I wanted to create a new one and discovered the database checkbook has no database.read/write j...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...