I'm building a multi language app. I call this function: await account.create(ID.unique(), email, password);
two use cases are wrong params for account creation. i get these responses:
Invalid email param: Value must be a valid email address
type: general_argument_invalid code: 400
Invalid password param: Password must be between 8 and 265 characters long, and should not be one of the commonly used password.
type: general_argument_invalid code: 400
a) is there an option to pass language to appwrite functions to get error messages in all languages? b) can there be returned unique codes, so one code correspond to one error message c) how else can i translate this?
Recommended threads
- Charged after Downgrade
I downgraded from the pro plan last month, but it’s still trying to charge my card this month and my account has been restricted
- Sydney Cloud Sites: App Git deployment a...
Project ID: rentwize-db The app Site fails after the build completes with a missing build archive error. Site id: app Framework: TanStack Start SSR Output dir...
- Active Running Project Deletion Alert Em...
Hi , I received an email alert from Appwrite today stating “your project will be deleted within 14 days if no action is taken,” though I have been actively usin...