query a firebase subcollection
How do I query a subcollection for documents?
I inserted to "Collection Name" : /listings/wJ0GuUW3AjzKq5P7VQg3/productQuestions
I get error:
Value for argument "fieldPath" is not a valid field path. Paths can't be empty and must not contain
"*~/[]".
3 Replies
To query a subcollection for documents in BuildShip, you need to ensure that the collection name is correctly formatted and does not include any invalid characters.
Here's how you can query a subcollection:
1. Collection Name: Ensure that the collection name is correctly formatted and does not include invalid characters like
*~/[]
.
2. Node Configuration: When configuring the node, make sure to provide the correct path to the subcollection.
For more detailed information, you can refer to the BuildShip documentation on querying collections.
If the issue persists, please submit a request via the in-app support button for further assistance.Sure, I'd be happy to assist. Please provide the details of your question.
Hi @1085900587767431259,
For assistance with your issue, please provide more details or submit your request via the in-app support button. This will allow our team to review your specific case and provide a tailored solution.
Thank you!