Hi, I’m trying to update an embedded json in my firebase document but an error: “Cannot convert firestore.v1.Value with type unset.” is getting thrown.
Example:
{
“type”: “news”,
“en”: {
“title”: “english title”,
“content”: “english content”
},
“es”: {
“title”: “spanish title”,
“content”: “spanish content”
}
}
Whenever “en” and/or “es” is not empty there is the error. If I only update “type”, everything is okay.