Question

How can I set the sample response to an array?

  • 5 May 2023
  • 1 reply
  • 17 views

Userlevel 1

zapier validate returns errors that the same is not an object.  I did not specify that the response is an object since it is an array.   Is there somewhere to set sample response type=array?

 

xxx.xxx.operation.sample │ is not of a type(s) object

 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 6
Badge +8

Hi @avantassel!

Welcome to the Zapier Community!

Would you please provide screenshots of your Zap step(s) and the error you’re getting (be sure to redact / blur any sensitive data)? It would also be helpful to have a sample of the array data.

Also, are you using the Code by Zapier app for this or the Zapier Developer Platform?