Troubleshooting¶
This guide helps you resolve common issues with the Datamates extension. Follow the solutions below or contact our support team if you need additional assistance.
Quick Diagnostics¶
Before diving into specific issues, run these quick checks:
1. Extension Status Check¶
This command provides: - Environment and extension info - Altimate API connectivity status - MCP server status and available tools - Altimate MCP and integration configuration - Extension settings with override sources2. VS Code Output Panel¶
- Open VS Code Output panel (
View > Output) - Select "Altimate MCP" from the dropdown
- Look for error messages or warnings
3. Extension Settings¶
- Open Settings (
Ctrl+,/Cmd+,) - Search for "altimate"
- Verify configuration values
Common Issues¶
Extension Installation Problems¶
Issue: Extension Not Found in Marketplace¶
Symptoms: - Cannot find "Datamates" in VS Code marketplace - Search returns no results
Solutions: 1. Check Internet Connection - Ensure stable internet connectivity - Verify marketplace access isn't blocked
- Update VS Code
- Ensure VS Code version 1.95.0 or higher
-
Restart VS Code after updating
-
Clear Extension Cache
-
Install via Command Line
Issue: Installation Fails¶
Symptoms: - Installation starts but fails to complete - Error messages during installation
Solutions: 1. Check Disk Space - Ensure sufficient disk space available - Clear temporary files if needed
- Retry Installation
- Restart VS Code
-
Try installing again
-
Install from VSIX
- Download VSIX file from releases page
- Install manually:
code --install-extension altimate-mcp-server.vsix
Extension Activation Issues¶
Issue: Extension Installed but Not Working¶
Symptoms: - Extension appears in installed list but doesn't function - No commands available in Command Palette - Datapilot not available in chat
Solutions: 1. Restart VS Code - Complete restart of the application - Check if extension activates on restart
- Check Extension Host
- Open Command Palette
-
Run "Developer: Restart Extension Host"
-
Verify Prerequisites
- VS Code version 1.95.0+
-
No conflicting extensions
-
Reset Extension Settings
MCP Server Connection Issues¶
Issue: MCP Server Not Starting¶
Symptoms: - Health check shows server offline - Tools not registering - Datapilot responses timeout
Solutions: 1. Check Server Status
- Restart MCP Server
- Disable and re-enable extension
-
Or restart VS Code
-
Check Firewall Settings
- Ensure VS Code can make network connections
-
Whitelist extension if necessary
-
Network Proxy Issues
- Configure proxy settings if in corporate environment
- Check proxy authentication
Issue: Tool Registration Failures¶
Symptoms: - Some tools not available - Empty tool list - Context detection not working
Solutions: 1. Verify Workspace Type - Ensure project has proper configuration files - Check if workspace is supported type
- Check Permissions
- Verify file access permissions
-
Ensure configuration files are readable
-
Check Integration Configuration
- Open the Datamates panel in the sidebar
- Verify your integrations are configured for the active Altimate MCP
Datapilot Chat Issues¶
Issue: Datapilot Not Responding¶
Symptoms: - @datapilot doesn't appear in chat suggestions - No response to messages - Chat participant not registered
Solutions: 1. Verify Chat Participant Registration - Check if @datapilot appears when typing @ - Look for extension errors in Output panel
- Restart Chat Service
- Close all chat windows
- Restart VS Code
-
Open new chat window
-
Check Extension Activation
- Ensure extension is enabled
- Verify no conflicting chat extensions
Issue: Slow Response Times¶
Symptoms: - Datapilot takes long time to respond - Chat interface appears frozen - Timeout errors
Solutions: 1. Check Network Connection - Verify stable internet connectivity - Test with simple commands first
- Optimize Query Complexity
- Break complex requests into smaller parts
-
Avoid very large data operations
-
Clear Chat History
- Start fresh conversation
- Avoid very long conversation threads
Database Connection Issues¶
Issue: Cannot Connect to Database¶
Symptoms: - Connection test failures - SQL execution errors - Authentication problems
Solutions: 1. Verify Credentials - Open the Datamates panel in the sidebar and check your connection settings - Check username/password - Verify database host and port - Test connection manually
- Network Connectivity
- Ensure database is reachable
- Check firewall rules
-
Verify VPN connection if required
-
Driver Issues
- Ensure database drivers are available
- Check compatibility with database version
Issue: Query Execution Failures¶
Symptoms: - SQL queries return errors - Permission denied errors - Timeout errors
Solutions: 1. Check Query Permissions - Verify user has required database permissions - Test query directly in database client
- Optimize Query Performance
- Add appropriate indexes
- Limit result set size
-
Break complex queries into steps
-
Connection Pool Issues
- Check connection limits
- Restart database connections
dbt Integration Issues¶
Issue: dbt Commands Not Working¶
Symptoms: - dbt models not detected - Compilation errors - Profile not found
Solutions: 1. Verify dbt Installation
- Check dbt Configuration
- Verify
dbt_project.ymlexists - Check profiles configuration
-
Ensure target environment is set
-
Path Issues
- Verify dbt profiles directory
- Check project root directory
- Ensure proper file permissions
Configuration Issues¶
Issue: Settings Not Saving¶
Symptoms: - Configuration changes don't persist - Settings reset after restart - Unable to save credentials
Solutions: 1. Check File Permissions - Ensure VS Code can write to settings files - Verify user permissions
- Workspace vs User Settings
- Check if settings are workspace-specific
-
Verify correct settings scope
-
Clear Configuration Cache
Performance Issues¶
Issue: Extension Running Slowly¶
Symptoms: - Slow command execution - High CPU usage - VS Code becomes unresponsive
Solutions: 1. Check Resource Usage - Monitor CPU and memory usage - Close unnecessary applications
- Optimize Configuration
- Reduce number of active connections
-
Limit concurrent operations
-
Disable Debug Mode
Advanced Troubleshooting¶
Extension Logs¶
Collecting Detailed Logs¶
-
Enable Debug Mode
-
Reproduce Issue
- Restart VS Code
-
Perform action that causes issue
-
Collect Logs
- Open Output panel
- Select "Altimate MCP"
- Copy relevant log entries
Log Analysis¶
Common log patterns to look for:
ERROR: Connection failed - Check database credentials
WARN: Tool registration timeout - Check network connectivity
INFO: MCP server started successfully
DEBUG: Query executed in 250ms
Network Diagnostics¶
Testing Connectivity¶
-
Basic Network Test
-
Port Connectivity
-
DNS Resolution
Reset Extension¶
Complete Reset¶
If all else fails, perform a complete reset:
-
Uninstall Extension
-
Clear All Data
-
Reinstall Extension
- Install from marketplace
- Reconfigure settings
- Test functionality
Getting Help¶
If you can't resolve the issue:
Before Contacting Support¶
- Gather Information
- VS Code version
- Extension version
- Operating system
- Error messages
-
Steps to reproduce
-
Try Safe Mode
- Start VS Code with
--disable-extensions - Install only Datamates
- Test if issue persists
Contact Options¶
Include in Support Request¶
- System Information
- Operating system and version
- VS Code version
-
Extension version
-
Error Details
- Complete error messages
- Steps to reproduce
-
Screenshots if helpful
-
Configuration
- Relevant settings (remove sensitive information)
- Project structure
- Database type and version
Most issues can be resolved with the solutions above. If you continue experiencing problems, don't hesitate to reach out to our support team.