Common Issues
This guide provides solutions to frequently encountered issues in Datalinx AI.
Connection Issues
Cannot Connect to Database
Symptoms: Connection test fails with timeout or refused error.
Possible Causes & Solutions:
| Cause | Solution |
|---|---|
| Firewall blocking | Whitelist Datalinx AI IP addresses |
| Wrong host/port | Verify connection details in your database admin panel |
| SSL required | Enable SSL in advanced connection settings |
| VPC isolation | Configure SSH tunnel for private databases |
Diagnostic Steps:
- Verify the database is accessible from your network
- Test connection with a database client (psql, mysql)
- Check firewall rules and security groups
- Review database server logs for connection attempts
Authentication Failed
Symptoms: Connection test fails with authentication error.
Solutions:
-- PostgreSQL: Verify user has login privilege
SELECT usename, usesuper, usecreatedb
FROM pg_user WHERE usename = 'datalinx_user';
-- Grant necessary permissions
GRANT CONNECT ON DATABASE mydb TO datalinx_user;
GRANT USAGE ON SCHEMA public TO datalinx_user;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO datalinx_user;
SSL Handshake Failed
Symptoms: SSL/TLS connection errors.
Solutions:
- Verify SSL is enabled on your database server
- Check certificate validity - ensure it's not expired
- Try different SSL modes:
require,verify-ca,verify-full - Update CA certificates if using custom certificates
Mapping Issues
Mapping Validation Errors
Error: "Required field not mapped"
Solution: Ensure all required target fields have a mapping:
- Open the mapping in the editor
- Look for fields marked with asterisk (*)
- Map each required field to a source or expression
Error: "Type mismatch"
Solution: Ensure data types are compatible:
-- Convert string to integer
CAST(user_id_str AS INTEGER)
-- Convert timestamp to date
DATE(created_at)
-- Convert number to string
CAST(amount AS VARCHAR)
Transformation Expression Errors
Error: "Invalid SQL expression"
Common Causes:
| Issue | Example | Fix |
|---|---|---|
| Missing quotes | John | 'John' |
| Wrong function | LENGTH(name) | CHAR_LENGTH(name) |
| NULL handling | a + b | COALESCE(a, 0) + COALESCE(b, 0) |
| Type mismatch | CONCAT(name, age) | CONCAT(name, CAST(age AS VARCHAR)) |
Pipeline Issues
Pipeline Fails Immediately
Symptoms: Pipeline fails within seconds of starting.
Checklist:
- Source connection is valid and tested
- Target connection is valid and tested
- All mappings are in "Valid" status
- User has permission to run pipelines
- Required credentials are not expired
Pipeline Runs Slowly
Symptoms: Pipeline takes much longer than expected.
Optimization Steps:
-
Enable incremental loading:
Incremental Config:
Cursor Column: updated_at
Batch Size: 10000 -
Add source indexes:
CREATE INDEX idx_orders_updated ON orders(updated_at); -
Reduce data volume:
- Add filters to source query
- Limit date ranges
- Exclude unnecessary columns
Pipeline Data Mismatch
Symptoms: Row counts don't match between source and target.
Diagnostic Steps:
- Check for filters in mapping or pipeline configuration
- Look for NULL handling that might exclude rows
- Verify deduplication settings
- Review transformation errors in pipeline logs
Authentication Issues
Cannot Log In
Symptoms: Login fails with incorrect credentials.
Solutions:
- Reset password via "Forgot Password" link
- Check caps lock - passwords are case-sensitive
- Clear browser cache and cookies
- Try incognito/private browsing
- Contact admin if account may be deactivated
SSO Not Working
Symptoms: SSO redirect fails or loops.
Diagnostic Steps:
- Verify SSO is enabled for your organization
- Check Identity Provider status
- Confirm email domain matches SSO configuration
- Review IdP logs for authentication errors
MFA Issues
Symptoms: MFA code rejected or device lost.
Solutions:
| Issue | Solution |
|---|---|
| Code rejected | Check device time sync, try next code |
| Device lost | Use backup codes |
| No backup codes | Contact organization admin to reset MFA |
API Issues
API Rate Limited
Error: 429 Too Many Requests
Solutions:
- Implement exponential backoff
- Reduce request frequency
- Batch operations where possible
- Upgrade plan for higher limits
API Key Invalid
Error: 401 Unauthorized
Checklist:
- Key is correctly copied (no extra spaces)
- Key has not expired
- Key has not been revoked
- Using correct header format:
Authorization: Bearer <key> - Key has permissions for the endpoint
Getting Help
If you can't resolve your issue:
- Search documentation - use the search bar
- Check status page - for known outages
- Review release notes - recent changes may affect behavior
- Contact support: support@datalinx.ai
Related Documentation
- Error Reference - Complete error code guide
- FAQ - Frequently asked questions
- Security Architecture - Security troubleshooting