Closed shafnaz closed 1 year ago
[Firebase Error] >> Invalid JSON payload received. Unknown name "arrayValue" at 'document.fields[31].value.map_value.fields[0].value.array_value.values[0]': Proto field is not repeating, cannot start list. Invalid JSON payload received. Unknown name "arrayValue" at 'document.fields[31].value.map_value.fields[0].value.array_value.values[1]': Proto field is not repeating, cannot start list.
It looks like that's a bug in the format of your list. Try switching it to something like this and see if it works:
"info" : [{ value: [1, 2] }, { value: [2, 3] }]
I'm not sure if that'll work, but it's worth a shot. It seems to do with how Firebase represents the underlying fields, and Protobuf, the protocol that they use for data serialization I believe, is choking on your data.
Yes , that works
Great! Closing this.
Describe the bug I'm sending data using add_document(). Firebase is returning an error
@export var userboard1 : Dictionary = {"name": "kenny", "info": [[1,2], [2,3]]}
It has to do with that subarray, because if I swap it with a dictionary or something else, then it works.