Back

[SOLVED] dart_appwrite-8.0.0 _TypeError (type 'List<dynamic>' is not a subtype of typ

  • 0
  • Teams
  • Flutter
  • Self Hosted
wadman
13 Apr, 2023, 07:58

Hi all. After updating to the latest version on the server side, an error occurs when creating a team.

Future<models.Team> create( … return models.Team.fromMap(res.data);

TL;DR
Issue: Getting a _TypeError when using dart_appwrite-8.0.0. Solution: The issue has been identified as a bug in the API, and a fix is in progress. You can track the progress of the fix on the GitHub repository (https://github.com/appwrite/appwrite/pull/5361).
joeyouss
13 Apr, 2023, 07:59

Hi - version and SDK?

wadman
13 Apr, 2023, 08:10

dart_appwrite 8.0.0, appwrite 1.3.1

joeyouss
13 Apr, 2023, 08:13

let me take a look

wadman
13 Apr, 2023, 08:19

Sorry, appwrite 2.0.2 )

joeyouss
13 Apr, 2023, 08:19

It's the CLI version

Meldiron
13 Apr, 2023, 08:22

@dlohani can I get your eyes on this please? 🙏

dlohani
13 Apr, 2023, 08:57

Hey, @wadman that's actually a bug in the API that we missed, we already have a fix in progress https://github.com/appwrite/appwrite/pull/5361

wadman
13 Apr, 2023, 13:47

[BUG UNDER FIX] dart_appwrite-8.0.0 _TypeError (type 'List<dynamic>' is not a subtype of typ

joeyouss
14 Apr, 2023, 16:56

[SOLVED] dart_appwrite-8.0.0 _TypeError (type 'List<dynamic>' is not a subtype of typ

freppsa
23 Apr, 2023, 18:16

Hi, Having the same issue after upgrading to 1.3.1, any eta when the fix will be released?

Drake
23 Apr, 2023, 19:58

Hopefully this upcoming week

Drake
27 Apr, 2023, 20:46
freppsa
27 Apr, 2023, 20:53

Super! Thanks for the info ☺️

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more