Why am I getting a Bad state error in this case? #6418
Unanswered
VitorFreitass
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I updated all my packages to the latest version and now I'm getting this error:
Bad state: field does not exist within the DocumentSnapshotPlatform
when fetching some data.I found some issues related to the same problem here but none solved my problem, most of them were related to changes on how DocumentSnapshot works and I probably must have missed something from the documentation that is causing this error.
Well, I'll put below where I think the problem is and the complete code.
I think the problem is here
Things I've tried and it didn't work
1:
2:
3:
For understanding
Beta Was this translation helpful? Give feedback.
All reactions