PerformList returns an array but still complains that it's not an array. Why?

  • 10 March 2021
  • 1 reply

Good day.  I’m trying to setup a REST hook and when testing my trigger I’m getting a weird error:

With the applicatin/json response text from the API::



Clearly the result is an array.  Any ideas would be much appreciated.  I’m sure I’m missing something simple somewhere (I’m using all of the defaults provided by Zapier).




1 reply

After a lot of trial and error, I found that this seems to resolve my issue:



Where I added the element “leads” to the JSON package being returned from the API method and then insert my array there.



    “leads” : [  ……….insert array here………. ]