This directory contains comprehensive troubleshooting guides for the Google Drive MCP Server. Each guide focuses on specific issues and provides step-by-step diagnostic and resolution procedures.
- Authentication Problems
- OAuth 2.0 flow failures
- Token refresh issues
- Invalid grant errors
- Browser authentication problems
- API Rate Limits
- Google API quota exceeded
- Request throttling
- Optimization strategies
- Error handling patterns
- Permission Errors
- Insufficient permissions
- Scope configuration issues
- File access problems
- Admin restrictions
- Docker Issues
- Container startup problems
- Volume mounting issues
- Network connectivity
- Environment configuration
- Redis Connection Problems
- Connection failures
- Performance issues
- Cache invalidation
- Memory management
- Error Messages Reference
- Complete error code reference
- Diagnostic procedures
- Step-by-step solutions
- Prevention strategies
# Check overall system health
node ./dist/index.js health
# Docker health check
docker-compose exec gdrive-mcp node dist/index.js health# View recent logs
tail -f logs/combined.log
# Search for specific errors
grep -i "error" logs/combined.log | tail -20
# Check authentication events
grep "TOKEN_" logs/gdrive-mcp-audit.log# Verify encryption key length
echo $GDRIVE_TOKEN_ENCRYPTION_KEY | base64 -d | wc -c # Should be 32
# Check file permissions
ls -la credentials/
# Test Redis connection
redis-cli pingIf the server is completely non-functional:
-
Check System Health
# Verify all services are running docker-compose ps # Check system resources docker stats
-
Reset Authentication
# Clean up tokens rm credentials/.gdrive-mcp-tokens.json # Re-authenticate ./scripts/auth.sh
-
Restart Services
# Full restart docker-compose down docker-compose up -d -
Verify Recovery
# Test basic functionality node ./dist/index.js health
If you can't resolve an issue:
-
Gather Information
- Run diagnostic commands above
- Collect relevant log files
- Note your system configuration
-
Check Documentation
- Review the specific troubleshooting guide
- Check the main README.md
- Look for similar issues in GitHub
-
Report Issues
- Include diagnostic output
- Describe reproduction steps
- Provide system information
Navigate to specific troubleshooting guides using the links above for detailed solutions.