Inconsistent API output with 'body'
Hi there,
I have an issue with my API outputs using v2 of BuildShip. I'm using the Firebase Auth Request to get the data from Firestore and returning the 'data' object of a Firestore document.
So far so good. However, it seems like there is something wrong with the Output node. Instead of returning the data object as it is, the result is being nested in a "body" class.
So, instead of :
{
"uid": 000000,
"name": john
}
I get :
{
"body": {
"uid": 000000,
"name": john
}
}
I don't have this issue with my Flows using BuildShip v1. And unfortunately I can't build my new flows using the v1.
Any tips?
Thanks,
2 Replies
AI Support Bot Information
<@1308474130357551126> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human!
Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers.
Please note: Team members will review and answer the questions on best efforts basis.
AI Response
It seems that the behavior you're experiencing, where the data object is nested under a "body" field, is unexpected and differs from BuildShip v1. Unfortunately, I couldn't find a specific FAQ entry addressing this particular issue. It may be an issue with BuildShip v2's handling of Firebase Auth Requests and the output node.
I recommend sending a support request through BuildShip's in-app support for more detailed troubleshooting and assistance. They could provide more insight into whether this is a configuration issue or a potential bug in the system.
BuildShip AI Support