
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
- Client Error
Hi Appwrite Community. I've got the Problem, that when I want to define my client, it won't work. Can somebody help me? (Project ID has been removed due to pri...
- Auth Error
`const user = await createSessionClient(session).account.get(); ` node-appwrite package can work but react-native-appwrite package cannot work. The only diffe...
- Migration error 'Invalid Runtime: dart-3...
I try to migrate my project from a self hosted Appwrite 1.6.2 to another self hosted server (Appwrite 1.7.4). When it comes to migrate the functions i get the e...
