Webhooks
Problems with inbound webhooks and with triggers that should start a mission. The full contract for senders is in Sending Marshal a Webhook.
Available when your administrator enables webhooks.
Posting to the delivery URL returns 404
You see: 404
Cause: The URL is wrong, or the signature or token did not match. Marshal gives the same 404 for both on purpose, so nobody outside your organization can find out that an endpoint exists.
Fix: Check these in order.
- The
X-Timestampheader is in Unix seconds, not milliseconds. - Your clock is within five minutes of the real time.
- You signed
<timestamp>.<body>, not the body alone. - You signed the exact bytes you send. A client that re-encodes the body after signing breaks the signature.
For a Shared token (no signature) endpoint, check that the sender attaches the token exactly as Marshal gave it.
Then open the endpoint in Settings, Webhooks. You can see what outsiders cannot: the timeline shows the real reason for each refused request, such as Bad signature, Bad token, Stale timestamp, or Unsupported format.
A trigger fired but the run did not start
Cause: A required input had no value. The trigger’s input map points at a field the event did not carry, or the mission’s prompt reads a field that is not in the input. Marshal stops the launch rather than hand the agent a half-filled prompt, and records which input and which path were missing.
Fix: Open a recent delivery and compare it with the input map. Point the input at a field the event carries, or give the input a default. See Map event data into mission inputs.
Timeline shows an unsupported format
You see: The timeline shows Unsupported format.
Cause: An endpoint verifies with exactly one signature format. The sender signed in a different one. The formats are Marshal’s own, Stripe, Standard Webhooks, Slack, Linear, body only, and shared token.
Fix: In the endpoint settings, change the signature format to the one your sender uses. The URL and secret stay the same.
A delivery arrived but no mission started
Cause: The trigger did not match the event. Marshal reads the event name from the X-Event-Type header. If you send none, the event name is *. Senders such as Stripe and Slack cannot add that header, so their events always arrive as *.
Fix: Bind the trigger to * and use a condition to pick the events you want. Or send an X-Event-Type header, and bind the trigger to that name or to its family, such as invoice.*.
No webhook integrations in the trigger dialog
You see: No webhook integrations are installed for this org
Cause: There is nothing to bind a trigger to yet.
Fix: An admin installs the generic-hmac-webhook package from the Marketplace and connects it in Settings, Webhooks.
No endpoint to choose for a custom webhook
You see: No endpoints exist yet for <source>, and Create is unavailable with Create a webhook endpoint first.
Cause: A custom webhook trigger binds to one endpoint, and none exists yet.
Fix: Follow the link in the dialog. Create a personal or team endpoint on Personal settings, Webhooks. Admins can also create an org-wide one on Settings, Webhooks. The link opens a new tab. Come back to the dialog, and the new endpoint is ready to choose.
A trigger stops after an endpoint is deleted
Cause: Deleting an endpoint disables the triggers bound to it. The triggers are not deleted.
Fix: Point each trigger at another endpoint.
GitHub events do not arrive
Cause: If GitHub never sent the event, Marshal cannot receive it.
Fix: A GitHub organization owner opens the GitHub App settings, then Advanced, then Recent Deliveries. If GitHub shows no delivery, fix the App’s event subscriptions on the GitHub side. If GitHub shows a delivery with an error, use the response code.
| Response from Marshal | Meaning | Who fixes it |
|---|---|---|
401 | The App’s webhook secret differs from the secret the relay has. | Your admin. |
404 with no org connected to this installation | The signature is fine but no organization is connected to that GitHub installation. | An admin connects the installation under Settings, Webhooks. |
Old deliveries are gone from the timeline
Cause: Delivery records are kept for 7 days. Marshal also cuts a stored body at 256 KiB.
Fix: Keep your own copy of any delivery you need for longer.