dch09Original post
Rank 2: Process
▿ Invalid credentials. Please check the email and password. #0
- message: "Invalid credentials. Please check the email and password."
▿ code: Optional(401)
- some: 401
- type: nil
that's the printed out error thrown when creating email session with incorrect credentials.
I've checked few other examples and type attribute, which is an optional String in AppwriteError class is also nil.
Summary
The user encountered a missing type attribute issue in the AppwriteError class while using Appwrite Cloud version 1.4.3. They updated to version 4.0.1 and the issue was resolved. The user also shared their code snippet, where they caught the error and printed its attributes. The type attribute was shown as nil. The user mentioned that they were able to reproduce the issue on version 1.3x but not on 1.4x. The team has been notified about the issue.