#Update to 12.0.4 breaks login.

1 messages · Page 1 of 1 (latest)

quasi swallow
#

I've updated from 8.3.0 to 12.0.4 and my login is broken with only this message:
TypeError: null: type 'Null' is not a subtype of type 'bool'

barren mortar
quasi swallow
#

cloud

barren mortar
quasi swallow
#

by the type of error I'm assuming there's a null value on a non-nullable field

#

it throws when I call await ServidorAppwrite.instance.account.get();

#

appwrite's response is sending me a 12 length map, while the User entity has 15 required fields plus 3 nullable ones

barren mortar
barren mortar
quasi swallow
quasi swallow
barren mortar
quasi swallow
#

should I update my server's appwrite?

barren mortar
quasi swallow
#

I think we have the framework on a cloud server, running in a container

#

didn't build the backend to be honest

barren mortar
quasi swallow
#

any command in specific?

barren mortar
#

What's your Appwrite endpoint?

quasi swallow
barren mortar
quasi swallow
barren mortar
# quasi swallow cloud

You are not on Appwrite Cloud. You are self hosting and you're on an older version of Appwrite. Version 12.0.4 of the flutter sdk is meant for version 1.5.x of Appwrite. That's why you're seeing the errors

quasi swallow
#

is it difficult to update?