-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Unhandled Exception: type 'Null' is not a subtype of type 'List<dynamic>' #173
Comments
@jtmuller5, thanks for creating this issue! 🙏🏼 What version of Appwrite are you on? |
Hi, I am using version 11.0.0 of the appwrite package on pub dev. I haven't made any other changes to my appwrite setup. |
@jtmuller5 Sorry, I meant what version of the Appwrite server? |
It looks like the project is using v 1.1.2. I set it up using the "Get Started" button in Appwrite cloud. Is there a way to upgrade this? |
@jtmuller5, Appwrite Cloud is using 1.1.2. The Appwrite team will be upgrading Appwrite Cloud soon. The SDK you're attempting to use (11.0.0) is meant for Appwrite 1.4.x, which is why you're getting the error. ![]() For Appwrite Cloud (on 1.1.2), please try version 8.1.0 of the Appwrite Flutter SDK. |
i have the same issue when i try to do Query.Select in listDocuments. |
Same issue. It works for a single document i.e |
having the same issue, is a problem in the serialization processs, the labels field in the creation is null but it's defines as List . |
👟 Reproduction steps
I see an error when trying to create a new account:
Apparently the "labels" property is required in the User model but its not returned by the create() method.
👍 Expected behavior
Don't require the labels property on the User model or return the labels list in the create response.
👎 Actual Behavior
An error is thrown
🎲 Appwrite version
Version 2.0.x
💻 Operating system
MacOS
🧱 Your Environment
Basic Flutter app in Android studio. Running on emulator
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: