Kai
Kai5mo ago

Why does my node work properly but the workflow returns empty object?

I have a node that takes an array of questions and its answer metrics and an array of question with its answers. When I test the node it returns me exactly the result I need but when I try to use the whole workflow (HTTP GET Requests) I receive empty object {}. I use the same input data for testing. What is the problem here?
No description
No description
Solution:
Hi @Kai, adding the array in the query will read it as string, and won't process, instead of passing the responseData and metrics as a query, pass it in the body. You can refer to this - https://docs.buildship.com/basics/ship-an-api.
Jump to solution
1 Reply
Solution
Gaurav Chadha
Gaurav Chadha5mo ago
Hi @Kai, adding the array in the query will read it as string, and won't process, instead of passing the responseData and metrics as a query, pass it in the body. You can refer to this - https://docs.buildship.com/basics/ship-an-api.