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.