Debugging Errors
When workflows fail, you need to quickly identify and fix the issue. This guide covers common errors and debugging techniques.
Finding the Error
In the Editor
Failed nodes show a red indicator:
- Look for nodes with red borders
- Click the node to see the error
- Check the Errors tab in the panel
In Execution Logs
- Go to Executions tab
- Find the failed run
- Click to open details
- See which node failed and why
Common Error Types
Connection Errors
Symptoms: "Connection refused", "Timeout", "Network error"
Causes:
- External service is down
- Network issues
- Firewall blocking requests
Solutions:
- Check if the external service is available
- Verify the URL is correct
- Check your network configuration
Authentication Errors
Symptoms: "401 Unauthorized", "403 Forbidden", "Invalid credentials"
Causes:
- Expired OAuth token
- Wrong API key
- Missing permissions
Solutions:
- Refresh the integration connection
- Verify API key is correct
- Check required scopes/permissions
Validation Errors
Symptoms: "Invalid input", "Missing required field", "Type mismatch"
Causes:
- Missing required data
- Wrong data format
- Type mismatches
Solutions:
- Check input data structure
- Verify required fields exist
- Use conditions to handle missing data
Rate Limit Errors
Symptoms: "429 Too Many Requests", "Rate limit exceeded"
Causes:
- Too many API calls
- Exceeding service limits
Solutions:
- Add delays between requests
- Batch operations where possible
- Upgrade API plan if needed
Debugging Techniques
1. Check Input Data
View what data the node received:
- Click the failed node
- Go to Input tab
- Verify data structure and values
2. Test in Isolation
Run just the failing portion:
- Create a test workflow
- Add only the failing node
- Provide known-good test data
- Identify if node or data is the issue
3. Add Logging
Insert log nodes to track data:
- Add a Log node before the failing node
- Output the data being passed
- Run the workflow
- Check logs for unexpected values
4. Simplify
Remove complexity to isolate the issue:
- Remove conditional branches temporarily
- Use hardcoded values instead of variables
- Test each piece individually
- Rebuild once working
5. Check Variable Paths
Ensure variables resolve correctly:
- Open the variable picker
- Verify the path exists
- Check for typos
- Handle null cases with defaults
Error Handling
Try-Catch Pattern
Wrap risky operations:
- Add an Error Handler node
- Connect it to nodes that might fail
- Define fallback behavior
- Log errors for investigation
Retry Logic
Automatically retry transient failures:
- Enable Auto-retry on the node
- Set retry count (e.g., 3)
- Set delay between retries
- Works for timeout and connection errors
Fallback Actions
Define what happens on failure:
- Send notification to yourself
- Log error details
- Use default values
- Skip non-critical operations
Node-Specific Debugging
HTTP Request
Common issues:
- Wrong URL: Double-check the endpoint
- Missing headers: Add required auth headers
- Bad body format: Verify JSON structure
- Wrong method: POST vs GET matters
Debug tips:
- Use a tool like Postman first
- Log the request before sending
- Check response status codes
Condition
Common issues:
- Wrong branch taken: Verify comparison values
- Type mismatch: String "5" != Number 5
- Case sensitivity: "Active" != "active"
Debug tips:
- Log the value before the condition
- Check for whitespace
- Use explicit type conversion
Loop
Common issues:
- Empty array: No iterations happen
- Null item: Check for null in array
- Performance: Large arrays slow down
Debug tips:
- Log array length
- Add condition to skip null items
- Limit iterations for testing
Getting Help
If you can't resolve the issue:
- Check documentation - Search the help center
- Community forum - Others may have solved it
- Contact support - Include execution ID and error details
When reporting:
- Include the workflow ID
- Include the execution ID
- Describe expected vs actual behavior
- Share relevant error messages
Next Steps
- Execution Logs - View all runs
- Manual Execution - Test workflows
- Using Variables - Fix variable issues