Error 400 Bad Request in Webhook Scenarion 10€ for help thanks guys

Hello @anthant,

Error Message:

No valid leads found

  1. At first glance, the problem is about how you’re passing data to call that internal other scenario webhook. Just confirm that you get your webhook received the exact payload(data) you passed to it.
  2. Another thing I’ve noticed is you’ve used the GPT module and one of the values (icebreaker) used from it. Here confirm that the GPT prompt always returns the same type(format) of data. First, change the format then parse it as you did.
    “Make” is sensitive about the data type being changed during an AI call and if you’re using it directly then maybe it also creates errors.

If Point 1 is ok then the issue is regarding to parameters you passed. Maybe don’t accept some type of data.

I’ve checked Instantly API Documentation for this specific “Add Lead” action.

They said that it need 3 required parameters to perform this api call.

  1. api_key: It’s always there.
  2. campaign_id: It’s always there.
  3. email: At least one lead with an email within your leads Array.

The error message itself says it’s an issue related to validation or missing some data.

Please confirm that you always have email within that webhook payload(data).


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, mark it as a solution :white_check_mark: and :+1:
Need expert help or have questions? Contact or comment below! :point_down:

2 Likes