Hey, I'm trying email verificacion with this signup implementation using deep links on iOS, but when creating the account I get this exception:
Exception: Error when creating account: User (role: guests) missing scope (account)
SignUp Impl:
Future<String> signup({required String email, required String password, required String userType}) async {
try {
final result = await account.create(
userId: ID.unique(),
email: email,
password: password,
name: userType
);
// Enviar correo de verificación
await account.createVerification(
url: 'fixflats://verify',
);
return 'Usuario creado con éxito: ${result.email}';
} on AppwriteException catch (e) {
throw Exception('Error al crear la cuenta: ${e.message}');
}
}
Why could this error mean??
email verification error??
Recommended threads
- Update from 1.8 to 1.8.1 failing
I have spent the past 2 hours trying to figure this out but I really dont know what to do. 1.8. was a fresh install because the upgrade from 1.7.4 was a total m...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...