Validation failed: Webhook not parsing JSON fields as variables

What i am doing :

  • Created a new scenario with a Custom Webhook module in Make.

  • Enabled JSON pass-through = YES.

  • Added a Data structure with fields:

    • query (Text, Required)
    • chat_id (Text, Required)
    • user_id (Text, Required)
    • project_id (Text, Optional)
  • Used “Redetermine data structure” after creating the structure.

  • Sent POST requests to the Webhook using Python and ReqBin with JSON like:

  • {
    “query”: “find fresh Python courses”,
    “chat_id”: “123456”,
    “user_id”: “999888”,
    “project_id”: “test_project”
    }
    What i need :

  • The Webhook should accept POST requests with JSON,

  • Parse the JSON fields as separate variables,

  • Make these variables available in the next modules of the scenario (like HTTP, Tools, etc).

What i get :

  • Every POST request returns a 400 error:
    Validation failed for 3 parameter(s). Missing value of required parameter 'query', 'chat_id', 'user_id'.
  • The webhook does not recognize the JSON fields as separate variables,
  • The variables are not available in the next modules.

P.S. If I select NO in JSON pass-through (Webhook), then Redetermine data structure works without errors. But, this is not what I need ^^