ai-automation-consultant / Failure Lab

Malformed JSON Webhook

The webhook endpoint rejects real client payloads before the workflow starts.

Category

webhooks

Difficulty

intro

Last Run

none

Incident Brief

Diagnose the parse failure and name the fix that preserves validation.

Broken State

The sender is posting text/plain with single-quoted pseudo-JSON.

Symptoms

  • Webhook executions fail before validation rules run.
  • Retrying the same body in a JSON client reproduces the parse error.

Trace

webhook.parse error=Unexpected token ' in JSON at position 1
content-type=text/plain body={'email':'sam@example.com'}

Diagnosis