Skip to main content

Tydli Troubleshooting Guide

This guide helps you resolve common issues with the Tydli platform.

🚨 Common Issues

Credential Issues

Issue: MCP Server returns 401 Unauthorized
  • Cause: Invalid or expired API credentials
  • Solution:
    1. Go to deployment settings
    2. Click β€œTest Credentials”
    3. If test fails, update credentials
    4. Re-test until successful
    5. See Credential Troubleshooting Guide
Issue: Connection test passed but Claude fails
  • Cause: Different endpoints have different requirements
  • Solution:
    1. Check API documentation for endpoint-specific auth
    2. Verify all endpoints in OpenAPI spec use same auth
    3. Test multiple endpoints manually
    4. See Credential Troubleshooting Guide

File Upload Problems

Issue: File upload fails with β€œInvalid file format” error
  • Cause: File is not a valid OpenAPI specification
  • Solution:
    • Ensure file is JSON or YAML format
    • Verify OpenAPI version is 3.0 or higher
    • Check for syntax errors in the specification
Issue: File upload stuck at β€œUploading…”
  • Cause: Network timeout or file too large
  • Solution:
    • Check file size (max 10MB)
    • Try refreshing the page
    • Use paste method for large specifications

Validation Errors

Issue: β€œMissing required field: info.title”
  • Solution: Add required OpenAPI fields:
    openapi: 3.0.1
    info:
      title: "Your API Title"
      version: "1.0.0"
    
Issue: β€œOpenAPI version must be 3.0 or higher”
  • Solution: Update version in your specification:
    openapi: 3.0.1  # or 3.0.2, 3.0.3, etc.
    

Deployment Issues

Issue: Deployment stuck in β€œGenerating” status
  • Cause: Server generation failed
  • Solution:
    1. Check deployment logs for error details
    2. Verify OpenAPI specification is valid
    3. Try regenerating the deployment
Issue: MCP Server returns 404 errors
  • Cause: Server not properly deployed or stopped
  • Solution:
    1. Check deployment status is β€œReady”
    2. Use β€œHealth Check” to verify server is responding
    3. Restart deployment if needed
Issue: β€œRate limit exceeded” errors
  • Cause: Too many requests in short time period
  • Solution: Wait a few minutes before retrying (see Rate Limits for details)

Authentication Problems

Issue: β€œEmail verification required” error when logging in
  • Cause: Account email not verified
  • Solution:
    1. Check your email inbox for verification link
    2. Click the link to verify your email
    3. Return to the application and log in
    4. If link expired, contact support for new verification email
Issue: β€œUnauthorized” errors when managing deployments
  • Cause: Session expired or invalid
  • Solution:
    1. Sign out and sign back in
    2. Refresh the page
    3. Clear browser cache if problems persist

Performance Issues

Issue: Dashboard loading slowly
  • Cause: Large number of deployments or logs
  • Solution:
    • Use deployment filters
    • Clear old deployment logs
    • Refresh the page
Issue: File validation takes too long
  • Cause: Large or complex OpenAPI specification
  • Solution:
    • Simplify specification if possible
    • Break large APIs into smaller specifications
    • Use URL import instead of file upload

πŸ”§ Browser Issues

Compatibility

  • Supported Browsers: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+
  • JavaScript Required: Ensure JavaScript is enabled
  • Ad Blockers: May interfere with file uploads

Cache Issues

If experiencing persistent problems:
  1. Clear browser cache and cookies
  2. Disable browser extensions temporarily
  3. Try incognito/private browsing mode

πŸ“Š Getting Help

Check System Status

  • View deployment logs for detailed error information
  • Use health check feature to verify server status
  • Monitor deployment dashboard for real-time updates

Reporting Issues

When reporting problems, include:
  • Error messages (exact text)
  • Browser and version
  • Steps to reproduce
  • OpenAPI specification (if applicable)

Contact Support

πŸ” Advanced Troubleshooting

Deployment Failed or Stuck

If your deployment fails or gets stuck in β€œGenerating” status:

Check Your OpenAPI Spec

  • Ensure valid JSON or YAML format: Use a validator before uploading
  • Verify all referenced schemas exist: Check all $ref pointers
  • Check for circular references: Avoid schemas that reference themselves
  • Test with a simple spec first: Try the Petstore example to isolate issues

View Deployment Logs

  1. Go to your deployment in the dashboard
  2. Click β€œView Logs” to see detailed error messages
  3. Look for validation errors or generation failures
Quick fix: Delete the failed deployment and try again with a simplified version of your spec. Add complexity gradually to identify the problematic section.

Authentication Errors (401/403)

If your MCP server returns authentication errors:

Verify Credentials

  • Double-check API key, username, or OAuth credentials
  • Ensure credentials have not expired
  • Test credentials directly with the target API using curl or Postman
# Test API key authentication
curl -H "X-API-Key: YOUR_KEY" https://api.example.com/endpoint

# Test Bearer token
curl -H "Authorization: Bearer YOUR_TOKEN" https://api.example.com/endpoint

Check Header Format

Make sure you’re using the correct authentication header format:
Authorization: Bearer your-token-here
X-API-Key: your-key-here
Authorization: Basic base64-encoded-credentials

OAuth Troubleshooting

  • Verify redirect URIs are correctly configured in your OAuth app settings
  • Check that requested scopes are allowed for your application
  • Ensure token refresh is working (check deployment logs for refresh attempts)
  • Confirm client_id and client_secret are correct

Claude Can’t Find or Use MCP Server

If Claude doesn’t recognize your MCP server:

Verify Configuration

  1. Check the URL in claude_desktop_config.json is correct and complete
  2. Ensure proper JSON formatting (no trailing commas, proper quotes)
  3. Verify the auth token is present and correct
  4. Confirm you restarted Claude Desktop after config changes (full quit + reopen)

Test Server URL

# Test if server is accessible
curl https://your-project.supabase.co/functions/v1/mcp-router/your-slug

# Should return MCP server metadata (not an error)
If this returns an error, the issue is with your deployment, not Claude.

Check Claude Logs

Look for connection errors in Claude’s log files:
  • Mac: ~/Library/Logs/Claude/
  • Windows: %APPDATA%\Claude\logs\
Search for errors related to your MCP server name or URL.

Rate Limit Errors (429)

If you’re hitting rate limits:

Check Your Plan Limits

View current usage in Settings β†’ Billing:
  • Free tier: 1,000 requests/month, 20 requests/hour
  • Pro tier: 50,000 requests/month, 200 requests/hour
  • Enterprise: Custom limits

Optimize API Calls

Reduce the number of requests:
  • Batch multiple operations when possible (combine requests)
  • Cache responses in your application or Claude’s context
  • Use webhooks instead of polling when available
  • Implement pagination for large data sets
  • Only request necessary fields using field selectors

Request Timeouts

If requests are timing out:

Check Target API Performance

  • Test the target API directly to measure response time
  • Some endpoints may naturally take longer (data exports, reports)
  • Consider async patterns for long-running operations

MCP Timeout Limits

Default timeout is 30 seconds per request. For longer operations:
  • Break large operations into smaller chunks
  • Use pagination for large data sets (e.g., limit to 100 items per request)
  • Implement async job patterns with status polling:
    1. Start job β†’ Get job ID
    2. Poll status β†’ Check if complete
    3. Retrieve results β†’ When ready

OpenAPI Spec Validation Issues

Common Validation Errors

Missing required fields:
openapi: 3.1.0
info:
  title: "Your API Title"  # Required
  version: "1.0.0"          # Required
paths: {}                    # Required (can't be empty)
Invalid $ref references:
# Bad - schema doesn't exist
components:
  schemas:
    User:
      $ref: '#/components/schemas/NonExistentSchema'

# Good - schema exists
components:
  schemas:
    User:
      $ref: '#/components/schemas/Profile'
    Profile:
      type: object
Circular schema definitions:
# Bad - creates infinite loop
components:
  schemas:
    A:
      $ref: '#/components/schemas/B'
    B:
      $ref: '#/components/schemas/A'
Malformed URLs in servers section:
# Bad
servers:
  - url: not-a-valid-url

# Good
servers:
  - url: https://api.example.com/v1

Validation Tools

Use these tools to validate your spec before deploying:

πŸ” Advanced Debugging

Database Query Debugging

Check deployment logs for errors:
SELECT * FROM deployment_logs
WHERE deployment_id = 'your-deployment-id'
AND status = 'failure'
ORDER BY created_at DESC
LIMIT 20;
Find slow API endpoints:
SELECT
  path,
  AVG(response_time_ms) as avg_ms,
  MAX(response_time_ms) as max_ms,
  COUNT(*) as request_count
FROM request_usage_tracking
WHERE deployment_id = 'your-deployment-id'
  AND response_time_ms IS NOT NULL
GROUP BY path
ORDER BY avg_ms DESC
LIMIT 10;
Check authentication failures:
SELECT * FROM deployment_logs
WHERE deployment_id = 'your-deployment-id'
  AND operation = 'authentication'
  AND status = 'failure'
ORDER BY created_at DESC;
Monitor error rate:
SELECT
  DATE_TRUNC('hour', created_at) as hour,
  status,
  COUNT(*) as count
FROM deployment_logs
WHERE deployment_id = 'your-deployment-id'
  AND created_at > NOW() - INTERVAL '24 hours'
GROUP BY hour, status
ORDER BY hour DESC;
Find requests with errors:
SELECT
  path,
  response_status,
  COUNT(*) as error_count
FROM request_usage_tracking
WHERE deployment_id = 'your-deployment-id'
  AND response_status >= 400
GROUP BY path, response_status
ORDER BY error_count DESC;

Development Mode

For developers using the platform:
  1. Open browser developer tools (F12)
  2. Check Console tab for JavaScript errors
  3. Monitor Network tab for failed requests
  4. Check Application tab for local storage issues

API Debugging

  • Test MCP endpoints directly using curl
  • Verify JWT tokens are valid
  • Check CORS headers for cross-origin issues

πŸ“š Additional Resources

For more help, check these guides:
For additional support, consult the complete documentation or contact the development team.