Skip to main content
Version: v1 (Current)

Webhook Testing and Troubleshooting

Use an isolated test project/integration, synthetic attendee/resource data and a controlled HTTPS receiver that cannot trigger production downstream actions. Keep all acceptance, failure, retry and rotation checks in that environment. Test a subscription with an actual dispatchable event. Test incoming callbacks through their integration-specific setup; their credentials and payloads differ from outgoing subscriptions.

Outgoing acceptance sequence​

  1. Create a project-scoped test subscription to a supported dispatchable event.
  2. Save its generated secret in the receiver's server configuration.
  3. Preserve raw request bytes and verify X-Signature before parsing.
  4. Trigger the corresponding resource operation in the same project.
  5. Inspect receipt, signature result, payload validation and acknowledgment.
  6. Confirm the downstream business effect, then repeat the delivery to test deduplication.
  7. Remove temporary subscriptions after the test.

Use a final publicly reachable HTTPS URL with a valid certificate. A local/private HTTP endpoint or a redirecting receiver fails the current destination guard; deploy a controlled receiver or use your team's approved test callback service.

Incoming acceptance sequence​

Before sending callbacks, obtain the integration-specific payload contract and sender retry/deduplication policy from the responsible integration administrator or provider documentation. Record retryable status codes, retry intervals/limits and the identity used to recognize a repeated notification. The outgoing subscription defaults below do not apply automatically to incoming senders. If those contracts are unknown, resolve them before enabling live callbacks.

  1. Provision the exact callback URL for an isolated integration/resource and confirm its destination project.
  2. Identify every authentication layer from Incoming Webhooks. Where both shared middleware and a controller signature apply, test a valid request with both, then refuse each missing/wrong credential independently.
  3. Send a documented synthetic payload and separately test a malformed payload and invalid resource reference. Check refusal and absence of unintended resource changes; do not assume all handlers return the same status/body.
  4. Record acknowledgment separately from queued-job completion and final resource state. Some valid notifications intentionally produce no change; check the handler-specific expectations.
  5. Repeat a notification and exercise the sender's documented retry behavior. Confirm the intended final state without duplicate business effects, including when a response is lost after work is accepted.
  6. Remove temporary callback configuration and test resources through the integration's supported cleanup procedure.

Failure cases​

Test an altered body, wrong secret, missing/malformed signature, duplicate payload and unsupported data. Make invalid messages return a refusal without applying business changes. Make accepted work return promptly after durable intake so long processing does not exceed the sender's timeout.

The current outgoing defaults are three seconds and three attempts with exponential backoff, but deployment settings can differ. A timed-out response does not prove the receiver applied no changes.

Rotation and replacement checks​

In a controlled test environment, queue a delivery before rotating the subscription secret and another afterward. Verify the first against the old secret and the second against the new secret. A saved rotation does not rewrite queued signatures. Confirm the receiver's transition policy and remove temporary old-secret acceptance when the transition ends.

For subscription replacement, distinguish stopping new dispatches from handling jobs already queued. Test receiver deduplication when old and new subscriptions overlap; two valid signatures do not mean two business effects should be applied. Keep these checks in an isolated test project and receiver.

Diagnose the layer​

SymptomInspect
No deliveryActual dispatchability, event operation and subscription owner project/team
Target rejectedHTTPS, public-address resolution, certificate and final URL
Redirect failureConfigure the final receiver directly; redirects are refused
Signature mismatchExact raw bytes, correct subscription secret and plain hex X-Signature
Receiver throws on malformed signatureType/length validation before constant-time comparison
Acknowledged but no business resultReceiver's durable queue/job and payload validation
Duplicate effectsOverlapping subscriptions, retry after response loss and deduplication
Inbound refusedIntegration-specific header/token/signature, not the outgoing secret
Inbound acknowledged but resource unchangedReferenced resource and queued-processing status

Capture useful evidence​

Record event/subscription identity, project/team, URL host, timestamp, HTTP result and redacted receiver outcome. Preserve the fact that a callback was queued, received or processed as distinct stages. Never paste signing/service secrets or full attendee payloads into a support request.

Use Outgoing Webhooks, Incoming Webhooks and Security for their distinct contracts.