Common Issues and Solutions
Webhook Not Being Received
Check Webhook Configuration
Check Webhook Configuration
Verify your webhook is properly configured and enabled:Common issues:
isEnabled: false- Webhook is disabled- Empty
eventsarray - No events configured - Invalid URL format - Must be valid HTTPS URL
- Missing or incorrect headers
Verify Endpoint Accessibility
Verify Endpoint Accessibility
Test if your webhook endpoint is reachable:Requirements:
- Must use HTTPS (not HTTP)
- Must respond within 10 seconds
- Must return HTTP 2xx for success
- No redirects (301/302) allowed
Check Event Triggers
Check Event Triggers
Ensure the events you’re expecting are actually occurring:Verify:
- Events are occurring in your community
- Event names match exactly (case-sensitive)
- User actions are completing successfully
Authentication Failures
Header Authentication Issues
Header Authentication Issues
Nudj sends custom headers that your endpoint must verify:Common mistakes:
- Case sensitivity in header names
- Missing
Bearerprefix - Wrong environment variable
- Headers not configured in webhook settings
Environment Variable Issues
Environment Variable Issues
Ensure your secrets are properly configured:Best practices:
- Use different secrets for development/production
- Never commit secrets to version control
- Use a secure secret generator
- Rotate secrets regularly
Processing Errors
Timeout Issues
Timeout Issues
Webhooks must respond within 10 seconds:
Memory and Performance Issues
Memory and Performance Issues
Optimize webhook processing for high throughput:
JSON Parsing Errors
JSON Parsing Errors
Handle malformed webhook payloads gracefully:
Debugging Techniques
Enable Detailed Logging
Request Inspection Tools
Webhook Testing Tools
Error Monitoring and Alerting
Webhook Health Checks
Error Notifications
Performance Optimization
Async Processing
Caching Strategies
Testing and Validation
Integration Testing
Common Solutions
Network and Connectivity
Firewall Configuration
Firewall Configuration
Ensure your firewall allows incoming HTTPS traffic:
Load Balancer Configuration
Load Balancer Configuration
Configure your load balancer for webhook traffic:
- Enable session affinity if needed
- Set appropriate timeout values (>10 seconds)
- Configure health checks
- Ensure SSL termination is properly configured
DNS and SSL Issues
DNS and SSL Issues
Verify your domain configuration:
Getting Help
Check the Logs
Start by examining your application logs and webhook processing logs for error patterns.
Test Locally
Use ngrok or similar tools to test webhooks against your local development environment.
Verify Configuration
Double-check your webhook configuration using the Admin API endpoints.
Contact Support
Reach out to support@nudj.cx with specific error messages and webhook IDs.
- Webhook configuration (without secrets)
- Specific error messages and stack traces
- Webhook IDs that failed
- Timeline of when issues started
- Your endpoint URL (for connectivity testing)
Debugging Checklist
Verify Webhook Configuration
- Webhook is enabled (
isEnabled: true) - Events array contains expected event types
- URL is valid and reachable
- HTTP method is appropriate
- Headers are correctly configured
Check Endpoint Implementation
- Endpoint responds within 10 seconds
- Returns HTTP 2xx for successful processing
- Properly verifies webhook signatures
- Handles JSON parsing errors
- Implements idempotency
Test Network Connectivity
- Endpoint is accessible from external networks
- SSL certificate is valid
- Firewall allows HTTPS traffic
- DNS resolves correctly

