Buildship: Firestore Collection Query error
Hi All,
I'm trying to use the Firestore Collection Query to get all documents belonging to my Firebase collection. I've set up a /GET API trigger which flows into the Firestore Collection Query and then return the '(x)Firestore Collection Query' array.
I can successfully query my Firestore collection when clicking the run button on the Firestore Collection Query node of my workflow, but when I click the "Test"button in Buildship or call my API with
Postman I see the following response:
{
"name": "Error"
}
Has anyone encountered this behavior? If so, please let me know how you resolved the return error.
Thanks
P.S. I have simplified my workflow to as few nodes as possible for the sake of asking my question here.
6 Replies
Thanks for sharing this, seems an issue somewhere, we are investigating and will update you soon.
thank you!
@Gaurav Chadha any update on this yet?
We are still working on it, Sorry for the inconvinience, we'll update you.
@Gaurav Chadha Has any progress been made on this? This is a major roadblock for me and the app I'm building. I essentially have been at a stand-still for a week because of this. thanks
Hi @certified dirtiboi, sorry for the delay. You can delete the Firestore collection query node, and add it again from the nodes explorer. It will have more fields. You can add your project ID and collection name it will work then. Also, please ensure you have setup the project and given permissions according to this. https://docs.buildship.com/tutorials/firebase-project.
@Gaurav Chadha It works now. Thanks for the help!