I don't have any ideia why no work, Create record !error! firebase INVALID_ARGUMENT

Before it was working perfectly, but I changed some things on the page and it’s not there anymore, I’ve reviewed everything several times, but I couldn’t find it, does anyone have a tip?

i want create record in firebase, but have an error : “INVALID_ARGUMENT: Cannot convert an arra in an array value.”

The property is left empty and firestore cannot create a value that has a type declared but sends null type.

So check your create record object and send some default value to all properties that would be empty.

1 Like