ptrk6182Original post
Flutter Developer
Hi there! I just started with appwrite. I use a selfhosted solution using docker.
Yesterday i created a simple signup page in my app and got an exception after account.create. The account will be created an the appwrite side.
The exception raises in appwrite/src/models/target.dart .. there is a function Target.fromMap
in the line expired: map['expired'], is the error. The problem is, that map did not contains the key "expired". Any idea what i can try or do to fix my problem?
Summary
Issue: Exception raised after Account.Create in appwrite self-hosted solution using Docker. Exception in Target.fromMap function due to missing key 'expired' in map.
Solution: Modify the function Target.fromMap in appwrite/src/models/target.dart to handle cases where 'expired' key is missing in the map.