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
- Functions never end and always fail (sta...
Hi ! I'm using Appwrite Cloud Pro and function execution from appwrite website is KO. Deploying starter function template, execution is always Failed and the ...
- My function executions console if overwh...
It seems the requests are getting processed correctly but it is using a older version of the backend. And it seems the cron requests done an hour ago are shown ...
- Iam getting 500 when i click on the proj...