I’m trying to post an array of objects to the trigger as suggested by
https://zapier.com/help/create/code-webhooks/trigger-zaps-from-webhooks#sending-an-array-of-objects
I’m getting an error saying there is a “non object” in the array:Unhandled error: CheckError: Invalid API Response: - Got a non-object result in the array, expected only objects (o{"title":"fred","url":"www.google.com"},{"title":) What happened: Executing triggers.newpost.operation.perform with bundle Invalid API Response: - Got a non-object result in the array, expected only objects (o{"title":"fred","url":"www.google.com"},{"title":)
From the error it looks like the entire array in being passed as the “item in the the array” and I have no idea why.
The JSON I’m posting looks like:i { "title": "fred", "url": "www.google.com" }, { "title": "barney", "url": "www.google.com" } ]
I haven’t done anything special with the trigger definition aside from define the two fields. Is there something that needs to be done to use arrays this way?
Posting an individual object without the array wrapper works as expected.