Common Errors
This guide covers frequently encountered errors in FactoryThread and how to resolve them. If you don't find your issue here, check the Dashboard page for execution-specific error details.
Connection Errors
"Connection refused"
What it means: The server actively refused the connection attempt.
Possible causes:
- Database server is not running
- Firewall blocking the connection
- Wrong port number
- Server not accepting remote connections
Solutions:
- Verify the server is running and accessible
- Check firewall rules allow connections on the specified port
- Confirm the port number in your connection settings
- Ensure the database is configured to accept remote connections
- Try connecting from the same network as the server
"Connection timeout"
What it means: The connection attempt took too long and was cancelled.
Possible causes:
- Network connectivity issues
- Server is overloaded
- Firewall silently dropping packets
- Very high network latency
Solutions:
- Check your network connection
- Verify the server hostname/IP is correct
- Try pinging the server to test connectivity
- Increase connection timeout in advanced settings
- Check for network path issues (traceroute)
"Authentication failed"
What it means: The username or password was rejected.
Possible causes:
- Incorrect username or password
- User account locked or disabled
- Password expired
- Wrong authentication method
- User doesn't have connect permission
Solutions:
- Verify username and password are correct
- Check that the user account exists and is active
- Confirm the authentication method matches the server
- Test credentials with a database client tool
- Contact your database administrator if needed
"Database does not exist"
What it means: The specified database name wasn't found on the server.
Possible causes:
- Typo in database name
- Database was renamed or deleted
- User doesn't have access to the database
- Case sensitivity issues
Solutions:
- Verify the exact database name (check case sensitivity)
- Confirm the database exists on the server
- Ensure the connection user has access to the database
- List available databases to find the correct name
"SSL certificate error"
What it means: The secure connection couldn't be established due to certificate issues.
Possible causes:
- Self-signed certificate not trusted
- Certificate expired
- Hostname mismatch
- Missing CA certificate
Solutions:
- For development: enable "Trust Server Certificate"
- For production: install the proper CA certificate
- Verify the hostname matches the certificate
- Check certificate expiration date
- Contact your IT team for proper certificate configuration
Execution Errors
"Data type mismatch"
What it means: A value couldn't be converted to the expected type.
Possible causes:
- Trying to convert non-numeric text to number
- Date format doesn't match expected pattern
- Null value where not allowed
- Incompatible types in merge/join
Solutions:
- Add a Convert node before the failing transformation
- Use CAST or type conversion functions
- Handle nulls with COALESCE
- Check source data for unexpected values
- Add filters to exclude invalid data
"Null reference error"
What it means: The workflow tried to access data that doesn't exist.
Possible causes:
- Accessing properties of null objects
- Missing fields in source data
- Join/lookup returned no matches
- Empty result set processed incorrectly
Solutions:
- Add null checks in transformations:
COALESCE(${Field}, 'default') - Use Left join instead of Inner join if matches aren't guaranteed
- Filter out null values before processing
- Verify source data contains expected fields
- Handle empty results gracefully
"Execution timeout"
What it means: The workflow took too long and was cancelled.
Possible causes:
- Processing very large datasets
- Slow database queries
- External API delays
- Infinite loops (rare, but possible)
Solutions:
- Add row limits during development/testing
- Optimize database queries (add indexes, improve SQL)
- Filter data earlier in the workflow
- Process data in smaller batches
- Increase timeout settings if necessary
"Invalid expression"
What it means: The expression syntax is incorrect.
Possible causes:
- Typo in function name
- Missing or extra parentheses
- Wrong number of arguments
- Invalid field reference
Solutions:
- Check function spelling and case
- Count parentheses - each opening needs a closing
- Review function documentation for correct arguments
- Verify field names match exactly (including case)
- Test expressions with simple values first
"Schema mismatch"
What it means: The data structure doesn't match what was expected.
Possible causes:
- Source schema changed since workflow was created
- Renamed or removed columns
- Different data types than expected
- Different connections with similar entities
Solutions:
- Refresh the entity in the connection
- Update field mappings in affected nodes
- Check for schema changes in the source system
- Re-select the entity to get updated schema
- Preview data to verify structure
Merge and Join Errors
"No matching rows found"
What it means: A join or lookup found no matches between the datasets.
Possible causes:
- Join keys don't have matching values
- Data type mismatch in join keys (text vs number)
- Leading/trailing spaces in text keys
- Case sensitivity differences
Solutions:
- Preview both datasets to verify matching values exist
- Ensure join key types match
- Use TRIM() on text keys to remove spaces
- Use UPPER() or LOWER() for case-insensitive matching
- Consider using Left join if matches aren't guaranteed
"Duplicate key violation"
What it means: When writing data, a unique constraint was violated.
Possible causes:
- Trying to insert a duplicate primary key
- Unique index constraint violated
- Race condition with concurrent operations
Solutions:
- Use Upsert mode instead of Insert
- Add Distinct node before writing
- Check for duplicates in source data
- Verify the correct key fields are used
- Handle conflicts in your workflow logic
API and HTTP Errors
"401 Unauthorized"
What it means: Authentication is required but wasn't provided or was invalid.
Solutions:
- Verify your API key is correct and active
- Check the Authorization header format
- Ensure the API key has permission for this operation
- Regenerate the API key if needed
"403 Forbidden"
What it means: Authentication succeeded but you don't have permission.
Solutions:
- Check that your API key has the necessary scope
- Verify your user has permission for the operation
- Contact your workspace admin for access
"404 Not Found"
What it means: The requested resource doesn't exist.
Solutions:
- Verify the URL is correct
- Check that the flow is deployed
- Ensure path parameters are correct
- Confirm the resource hasn't been deleted
"429 Too Many Requests"
What it means: You've exceeded the rate limit.
Solutions:
- Reduce request frequency
- Add delays between requests
- Batch operations when possible
- Contact support for rate limit increases
"500 Internal Server Error"
What it means: Something went wrong on the server.
Solutions:
- Check execution details in Insights
- Review input data for issues
- Try the operation again
- Check for system status issues
- Contact support with the execution ID
Performance Issues
Slow Executions
Symptoms: Workflows take longer than expected.
Solutions:
- Filter early to reduce data volume
- Select only needed columns
- Add database indexes on frequently queried columns
- Avoid N+1 query patterns
- Use batch operations for writes
Memory Issues
Symptoms: Large datasets cause failures or slowdowns.
Solutions:
- Process data in smaller batches
- Limit rows during testing
- Stream data instead of loading all at once
- Remove unnecessary columns early
Getting More Help
In Execution Details
The Insights page shows:
- Full error messages
- Stack traces (technical details)
- Which step failed
- Input and output data
Reproducing Issues
To debug effectively:
- Note the exact error message
- Copy the input data
- Open the workflow in Designer
- Use Preview with the same input
- Step through node by node
Contacting Support
When reporting issues, include:
- Execution ID (from Insights)
- Error message
- Steps to reproduce
- Expected vs actual behavior
Next Steps
- Dashboard - Monitor executions
- Connections Overview - Connection management
- Designer Overview - Workflow building