dart_firebase_admin
dart_firebase_admin copied to clipboard
Fetching Firestore Documents results in parsing error
I tried this lib for a couple of collections which all worked fine.
On a given collection however I get this error:
ERROR - 2024-03-30 15:11:12.058685
POST /apps/execute_automation
Error thrown by handler.
type 'String' is not a subtype of type 'num' in type cast
package:firebaseapis/firestore/v1.dart 5451:39 new Value.fromJson
package:firebaseapis/firestore/v1.dart 4604:27 new MapValue.fromJson.
Which is this line:
I could not pinpoint the exact document that got it to fail but this is the general data structure: