Interlooper
Interlooper11mo ago

Create Document node not working

Hi all, I tried using BuildShip's Database with Firestore Write/Read example, but it doesnt work. I tested just the node it always returns this error: { "error": { "error": { "code": 5, "details": "", "metadata": {}, "note": "Exception occurred in retry method that was not classified as transient" }, "label": "Create Document", "message": "5 NOT_FOUND: " }, "label": "Branch", "message": "5 NOT_FOUND: " } When I checked the code I saw that there is an undefined parameter when initializing Firestore. I provided screenshoot.
No description
21 Replies
Harini
Harini11mo ago
Thanks for pointing it out. @Bhavya ✨ can you check on this?
Bhavya
Bhavya11mo ago
Hey @Interlooper, I can assure you that the Create Document node works as expected. From the error messages, it seems the Create Document node lies within a branch? Could you perhaps send a support request from within the BuildShip App and set "Include a copy of the Workflow" to true (as described here. This would help us to check what's the underlying cause of this issue in your workflow.
Interlooper
Interlooper11mo ago
Hi @Bhavya ✨ thanks for helping. I have already filed the issue and added a copy of workflow before reaching out here. Create document is inside of a branch as it is provided in Firestore Write/Read example. I haven't modified anything. Here is the screenshot:
No description
Interlooper
Interlooper11mo ago
I also went inside the node to test it in isolation same error "5 NOT_FOUND: "
Bhavya
Bhavya11mo ago
I see... Just to clarify, you're seeing this error with node testing. Are you getting the same error when you try to ship the workflow as well?
Interlooper
Interlooper11mo ago
No error when shipping it just fails while calling the API externaly with same message. Can it be the browser? I'm on latest Firefox browser.
Gaurav Chadha
Gaurav Chadha11mo ago
Could you please try on Postman? And share a screenshot of the request and response of the shipped API?
Interlooper
Interlooper11mo ago
I use Insomnia here is the error when calling the endpoint.
No description
Interlooper
Interlooper11mo ago
Whenever there is Create Document node in workflow it stops here with that error. Other nodes work fine. { "error": { "error": { "code": 5, "details": "", "metadata": {}, "note": "Exception occurred in retry method that was not classified as transient" }, "label": "Create Document", "message": "5 NOT_FOUND: " }, "label": "Branch", "message": "5 NOT_FOUND: " }
Bhavya
Bhavya11mo ago
@Interlooper, could you try using a different browser, preferably Chrome, and see if this issue still persists?
Interlooper
Interlooper11mo ago
Unfortunatly same in Chrome:
No description
Interlooper
Interlooper11mo ago
I'm on a starter plan if it means anything.
Bhavya
Bhavya11mo ago
We're looking into this issue as we have not been able to replicate it yet, @Interlooper. One thing that I want to test is that if you're able to connect your own Firebase project to it. Could you try connecting your own Firebase project instead of using the underlying Firebase project? Here are the steps to set up your own project: https://docs.buildship.com/tutorials/firebase-project#option-2-connecting-to-your-own-firebase-project
Connecting to your Firebase Project – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
No description
Interlooper
Interlooper11mo ago
Ok. So I connected with different email (free account) and created brand new project. I imported Firestore Write/Read template and it worked! Could it must be something with my user account?
Bhavya
Bhavya11mo ago
I suspect so... I'm waiting on a response from the team on this. Will get back to you as soon as I get some insight. Sorry for the trouble 😅