rlee128Original post
Rank 2: Process
We are getting this error AppwriteException: general_unknown, Server Error (500) when trying run the createPhoneToken after receiving a Teams invite email. I can confirm that when doing this without a teams invite email it works. I also can confirm that if the teams invite is sent to someone that already has an account it works too. All which is odd because the same exact code is ran in each case. I am using mock numbers.
Summary
Issue: Error (500) 'AppwriteException: general_unknown' occurs when running createPhoneToken after receiving a Teams invite email, but not when done without the invite or for existing users.
Solution: Check for any differences in the code execution and parameters between the cases where the error occurs and where it doesn't. Pay special attention to any conditional statements or variables tied to Teams invite email processing.