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.
No description
No description
No description
6 Replies
Gaurav Chadha
Gaurav Chadha9mo ago
Thanks for sharing this, seems an issue somewhere, we are investigating and will update you soon.
certified dirtiboi
thank you! @Gaurav Chadha any update on this yet?
Gaurav Chadha
Gaurav Chadha9mo ago
We are still working on it, Sorry for the inconvinience, we'll update you.
certified dirtiboi
@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
Gaurav Chadha
Gaurav Chadha8mo ago
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.
No description
certified dirtiboi
@Gaurav Chadha It works now. Thanks for the help!