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
- Impossible to create project via CLI?
Is it possible to create a new project via the appwrite CLI ? I need to create a few projects for something I'm working on and because i don't want to do it man...
- Understanding S3 setup with appwrite
Hey, i'm planning to change the storage from local to S3, tho i have some questions to see before starting the migration. 1. Does all the `/storage/<storage_ty...
- S3 files like health6a079a79afaa25.44072...
I migrated to another external S3 host for my appwrite and in many (but not all) folders a file (something like health6a079a79afaa25.44072323 - file itself is e...