Back

Email OTP

  • 0
  • General
  • React Native
  • Android
  • Auth
Krist
4 Nov, 2024, 18:19

Hello! I'm trying to have email verification OTP in my sign-up but i get this error OTP Verification Failed: Account creation failed: AppwriteException: User (role: guests) missing scope (account). when I submit the OTP. And then, how do i create users that has only verified status? it keeps creating users with unverified status. Using React Native and Expo

i provided the screenshots for the codes. Much newbie here. Thanks

TL;DR
Developers are facing an error "OTP Verification Failed: Account creation failed: AppwriteException: User (role: guests) missing scope (account)" when submitting OTP for email verification. They are also unable to create users with only verified status. They are using React Native and Expo. Solution: It seems like a permission issue. Check the user's role and scope in Appwrite settings. Confirm that the role has required permissions. Also, check the user status handling in the code to ensure only verified users are created. Double-check the logic for user creation in React Native and Expo.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more