Skip to main content
This guide helps you troubleshoot issues with webhook delivery and processing.

How Webhooks Work

Fanfare sends HTTP POST requests to your configured endpoint when events occur:

Common Issues

Webhooks Not Being Received

Symptoms: Your endpoint isn’t receiving any webhook requests. Checklist:
  1. Verify webhook URL is correct
    • Check for typos in the URL
    • Ensure the URL is publicly accessible
    • HTTPS is required for production
  2. Check endpoint accessibility
  3. Verify webhook is enabled
    • Check webhook configuration in the dashboard
    • Ensure the webhook is active, not paused
  4. Check firewall rules
    • Fanfare sends requests from specific IP ranges
    • Contact support for current IP allowlist

Signature Verification Failing

Symptoms: Webhook arrives but signature verification fails. Example Verification (Node.js):
Common Causes:
  1. Using parsed body instead of raw body
  2. Wrong webhook secret
    • Each webhook endpoint has its own secret
    • Secrets are different between test and live modes
  3. Middleware modifying the request

Webhook Timeouts

Symptoms: Webhooks fail with timeout errors. Requirements:
  • Respond within 30 seconds
  • Return 2xx status code for success
Solution: Process asynchronously

Duplicate Webhook Deliveries

Symptoms: Same webhook received multiple times. Causes:
  • Your endpoint returned non-2xx status
  • Network issues caused retry
  • Your endpoint took too long to respond
Solution: Implement idempotency
Production-ready idempotency:

Wrong Event Types Received

Symptoms: Receiving unexpected event types. Solution: Filter events in configuration

Webhook Payload Issues

Symptoms: Cannot parse or understand webhook payload. Debug logging:
Payload structure:

Testing Webhooks

Local Development

Use a tunneling service to receive webhooks locally:
Configure the tunnel URL in your webhook settings.

Manual Testing

Send test webhooks from the dashboard or use the CLI:

Webhook Log Review

Check webhook delivery history in the dashboard:
  1. Go to Settings > Webhooks
  2. Select your endpoint
  3. View Delivery Attempts
Each attempt shows:
  • Request payload
  • Response received
  • Status code
  • Timing information

Webhook Event Reference

Queue Events

Draw Events

Order Events

Error Recovery

Retry Policy

Fanfare retries failed webhooks with exponential backoff: After 7 failed attempts, the webhook is marked as failed.

Manual Retry

Retry failed webhooks from the dashboard:
  1. Go to webhook delivery history
  2. Find the failed delivery
  3. Click Retry

Webhook Replay

For missed webhooks, use the replay feature:

Best Practices

Always Respond Quickly

Use Idempotency Keys

Validate Signatures

Handle All Event Types

Monitor Webhook Health

  • Set up alerts for failed webhooks
  • Monitor response times
  • Track success rates