BuildShipBBuildShip
Powered by
StephenS
BuildShip•14mo ago•
15 replies
Stephen

Unexpected end of JSON input in Branch

I am calling an GET and have it set to await.
The response is good
In the branch I check for a status of 200 and the count property being greater than 0

This isn't difficult but why does it seem to be so ...

In the node AFTER the branch I have this code to reformat the response JSON if there is any

JSON.stringify((ctx?.["root"]?.["d633570b-daeb-4624-adfe-a7064113c628"]?.data?.response?.facets || []).map(facet => ({ facetId: facet.id, facetName: facet.name })))

Is there a quicker way to get support as a paid customer ?
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Unexpected end of JSON input - BuildShip Trigger
BløødyBBløødy / ❓・buildship-help
16mo ago
Unexpected end of input
VladVVlad / ❓・buildship-help
2y ago
Could not send message: Unexpected end of JSON input
Christopher30CChristopher30 / ❓・buildship-help
2y ago
branch
MikeMMike / ❓・buildship-help
16mo ago