I'm migrating from Firebase Firestore to Appwrite DB but there an error with a value of attribute
- 0
- Databases
- React Native
- General
- Cloud
I'm getting an error with all documents in my Firestore db that a value must be an integer, I made a function that check all my docs attribute value if it's integer or not, and all of them are integer.
more informations about the error:
"errors": [
"Error occurred while pushing 'databases:1031996536973963274' to destination with message: 'Invalid document structure: Attribute \"cr_idCounter\" has invalid format. Value must be a valid integer'",
"Error occurred while pushing 'databases:1052861398058815549' to destination with message: 'Invalid document structure: Attribute \"cr_idCounter\" has invalid format. Value must be a valid integer'",
"Error occurred while pushing 'databases:1056184177495650364' to destination with message: 'Invalid document structure: Attribute \"cr_idCounter\" has invalid format. Value must be a valid integer'",
"Error occurred while pushing 'databases:1067815151354519633' to destination with message: 'Invalid document structure: Attribute \"cr_idCounter\" has invalid format. Value must be a valid integer'",
and a lot of errors but it change the id of the document and this is a photo for one of my documents content the value of my attribute.
Recommended threads
- Unable to login
I'm unable to login to my account on cloud.appwrite.io. Register mail is yash.tak1998@gmail.com
- Does a user need to be registered in App...
If I want to send an email (for example, to xyz@gmail.com) from an Appwrite Cloud Function, does that email address need to be registered as a user in Appwrite?...
- support counts
I want just want number of rows i have matching few conditions, if databse.count was there then will had saved few resources, instead using databse.listrows