Skip to main content
Best answer

how to tell the Zapier platform that an object is an okay response

  • November 20, 2019
  • 5 replies
  • 1044 views

Vera
Forum|alt.badge.img
  • Zapier Expert
  • 6 replies

Hi guys,

I have developed an integration in Zapier Platform but I am getting this error when I use it in zap.

Screenshot 2019-11-20 21.53.05.pngwhen I was testing the API in Postman I got a successful message.

Screenshot 2019-11-20 20.06.59.pngAnyone know how to tell the Zapier platform that an object is an okay response in this case?


Best answer by VeraBest answer by Vera

@ikbelkirasan yeah it's a custom integration. And thanks for clarification.

the solution in my case is this:

Screenshot 2019-11-22 06.28.02.png




View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

PaulKortman
Forum|alt.badge.img+10
  • Zapier Expert
  • 469 replies
  • November 20, 2019

I’m not sure, but just guessing here that you could do the webhook call within a code step and either return the object or parse the object to deliver it (return from the code step) as an array.



Vera
Forum|alt.badge.img
  • Author
  • Zapier Expert
  • 6 replies
  • November 20, 2019

Oops just for a clarification I am not doing a webhook in a zap but a code in an application/integration



AndrewJDavison_Luhhu
Forum|alt.badge.img+10

Paging @ikbelkirasan for help here.



ikbelkirasan
Forum|alt.badge.img+12
  • Zapier Expert
  • 555 replies
  • November 20, 2019

Hi everyone,

Triggers and searches require arrays as output. Objects are required as output in actions.

Is this a custom integration? If so, create an array that contains a single item which is the response object and return it instead.

Triggers and searches usually return multiple results which would run multiple instances of the zap in parallel. That's the reason why an array is required.


Ikbel



Vera
Forum|alt.badge.img
  • Author
  • Zapier Expert
  • 6 replies
  • Answer
  • November 22, 2019

@ikbelkirasan yeah it's a custom integration. And thanks for clarification.

the solution in my case is this:

Screenshot 2019-11-22 06.28.02.png