
Hi, how to change the exception message according to the user locale? Or if that is not possible how to uniquely identify which exception is which so that it can be handled specifically.
For example if the authentication is failed. I want to display custom error message instead of the default "Invalid credentials. Please check the email and password."
AppwriteException: Invalid credentials. Please check the email and password. at Client.<anonymous> (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=30fb1690:850:17) at Generator.next (<anonymous>) at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=30fb1690:488:24)
And in some other scenario like changing the user email where the password is required, if incorrect password provided instead of showing " Invalid credentials. Please check the email and password." message I want to show custom error message to explain to the user why the action is failing.
Thanks.
Recommended threads
- Email Verification Email
Hi everyone, I’m currently experiencing an issue with the email verification functionality. When I trigger the verification, the request returns a valid respon...
- Appwrite Cloud Custom Domains Issue
I’m trying to configure my custom domain api.kondri.lt (CNAME pointing to appwrite.network., also tried fra.cloud.appwrite.io with no luck ) but encountering a ...
- Persistent 401 Unauthorized on all authe...
Hello, I'm facing a critical 401 Unauthorized error on my admin panel app and have exhausted all debugging options. The Problem: When my React app on localhos...
