Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore #529
Replies: 2 comments
-
This is not enough information to help you. Please create a bug report and provide a reproduction example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was importing the new firebase10.7.1 incorrectly some how. After a fresh install and setup everything works as planned. Not an issue with your plugin. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Why do I get this error even though my reference is the same format as the online example?
ref"users/5AUE2LQATAeCuJZQ2sKHlv8tvmL2"
const { snapshot } = await FirebaseFirestore.getDocument({
reference: ref
});
console.log(snapshot)
return snapshot;
Beta Was this translation helpful? Give feedback.
All reactions