Hello,
I have an issue where Appwrite returns a platform error instead of an authentication error. Is this normal?
Link: https://appwrite.io/docs/advanced/platform/response-codes
Here is my example code:
TypeScript
Future<void> signIn(String email, String password) async {
try {
await _account.createEmailPasswordSession(
email: email, password: password
);
} on AppwriteException catch (e) {
print(e);
rethrow;
}
}
Return
TypeScript
AppwriteException: general_argument_invalid, Invalid `password` param: Password must be between 8 and 256 characters long. (400)`
Thanks.
TL;DR
Appwrite is returning platform errors instead of authentication errors due to an invalid password (too short). Refer to the platform response codes documentation for more details. Consider checking password requirements and adjust accordingly.Recommended threads
- Android SDK: Kotlin null Value Not Updat...
Hi team, I think you should check the Android SDK implementation once, as it seems to have an issue handling Kotlin **null** values. For example: When I send:...
- Can't connect GitHub — 500 error at the ...
Appwrite Cloud, Pro plan, SFO region. All my Git connections vanished today — Sites and all 15 Functions now show no repository connected. When I try to add a ...
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...