Document references must have an even number of segments error on a collection reference

后端 未结 2 1213
南笙
南笙 2021-01-05 12:02

I\'m getting the rather simple error:

Document references must have an even number of segments.

I\'m aware of what it is telling me and ho

2条回答
  •  青春惊慌失措
    2021-01-05 12:13

    Because neither the above nor other similar posts helped me..

    I got this error when calling set data and then immediately after .getDocument(...) (i.e. reading data). When I called my read data method in the completion handler of the setData method then the error message disappeared.

提交回复
热议问题