I built out a Search api request in the Zapier Developer and was able to successfully return an array.
When I built a zap using this information it returned the same data, but gave an error saying that the data was returned as an object rather than an array. I have attached photos of both the Developer Workspace and the zap error code.
One thing to note is that in the developer I am not getting any logs in the bundle, http, or console sections of the Test Your API Request section.
Best answer by ikbelkirasanView original
@jacob_nolley - I moved your post to the Developer Discussion as that's the best place to ask these types of questions.
@Danvers and @jacob_nolley
Can you switch to code mode and post a screenshot of the code in there? Basically, if the API response is an object, you would need to wrap it in an array first before you return it.