Skip to content

Common Errors

Troubleshooting guide for common issues when using Opensure.

Installation Errors

Chrome Extension Won't Install

Error: "Extension installation failed"

Causes:

  • Chrome version too old
  • Extension blocked by enterprise policy
  • Insufficient permissions

Solutions:

  1. Update Chrome to latest version
  2. Check with IT department about extension policies
  3. Try installing in incognito mode (testing only)

Database Connection Failed

Error: "Failed to connect to Supabase"

Causes:

  • Invalid credentials
  • Network firewall blocking connection
  • Supabase project paused

Solutions:

  1. Verify credentials in extension settings
  2. Check network connectivity
  3. Confirm Supabase project is active
  4. Test connection using Supabase dashboard

Authentication Errors

Login Failed

Error: "Invalid credentials"

Causes:

  • Incorrect email or password
  • Account not activated
  • Session expired

Solutions:

  1. Verify email and password
  2. Check email for activation link
  3. Request password reset
  4. Clear browser cookies and retry

Unauthorized Access

Error: "403 Forbidden"

Causes:

  • Insufficient permissions for resource
  • Wrong tenant context
  • CSRF token missing

Solutions:

  1. Contact admin to verify permissions
  2. Ensure tenant_id is correct
  3. Refresh page to get new CSRF token

Data Errors

Policy Creation Failed

Error: "Failed to create policy"

Causes:

  • Missing required fields
  • Duplicate policy number
  • Invalid tenant_id

Solutions:

  1. Check all required fields are filled
  2. Verify policy number is unique
  3. Confirm tenant_id matches your account

Lead Not Saving

Error: "Failed to save lead"

Causes:

  • Database write permission denied
  • Duplicate lead detected
  • Network timeout

Solutions:

  1. Verify database permissions
  2. Check if lead already exists
  3. Retry with stable network connection
  4. Check browser console for detailed error

API Errors

404 Not Found

Error: "Resource not found"

Causes:

  • Invalid URL or endpoint
  • Resource deleted
  • Wrong environment (staging vs production)

Solutions:

  1. Verify endpoint URL
  2. Check resource ID is correct
  3. Confirm environment matches

500 Internal Server Error

Error: "Server error"

Causes:

  • Backend exception
  • Database connection lost
  • Migration not applied

Solutions:

  1. Check server status at status.opensure.dev
  2. Report error to [email protected]
  3. Include error ID from response

Rate Limiting

Error: "429 Too Many Requests"

Causes:

  • Exceeded API rate limit (100 requests/minute)

Solutions:

  1. Implement exponential backoff
  2. Reduce request frequency
  3. Contact support for higher limits

Performance Issues

Slow Page Load

Symptoms: Pages take >5 seconds to load

Causes:

  • Large dataset returned
  • Network latency
  • Browser cache full

Solutions:

  1. Use pagination for large datasets
  2. Check network speed
  3. Clear browser cache
  4. Disable unnecessary browser extensions

Extension Freezes

Symptoms: Chrome extension becomes unresponsive

Causes:

  • Processing too many leads at once
  • Memory limit exceeded
  • Corrupt extension data

Solutions:

  1. Reduce batch size to <50 leads
  2. Restart Chrome
  3. Reinstall extension
  4. Clear extension storage

Database Errors

Duplicate Key Error

Error: "Unique constraint violation"

Causes:

  • Duplicate policy number
  • Duplicate client email
  • Race condition in concurrent requests

Solutions:

  1. Use unique identifiers
  2. Implement client-side validation
  3. Add retry logic with exponential backoff

Foreign Key Violation

Error: "Foreign key constraint failed"

Causes:

  • Referenced record doesn't exist
  • Wrong tenant_id
  • Record already deleted

Solutions:

  1. Verify referenced record exists
  2. Check tenant_id matches
  3. Refresh data before retry

MCP Tool Errors

Tool Not Found

Error: "MCP tool 'create_policy' not available"

Causes:

  • MCP server not running
  • Tool not registered
  • Claude Desktop not configured

Solutions:

  1. Start MCP server: npm start
  2. Verify claude_desktop_config.json
  3. Restart Claude Desktop

Invalid Tool Parameters

Error: "Missing required parameter: policy_number"

Causes:

  • Required parameter not provided
  • Wrong parameter type
  • Parameter value out of range

Solutions:

  1. Check tool schema for required fields
  2. Verify parameter types match schema
  3. Review parameter validation rules

Getting Help

Before Contacting Support

  1. Check this troubleshooting guide
  2. Review error message carefully
  3. Note steps to reproduce
  4. Check browser console logs
  5. Try in incognito/private mode

Contact Support

Email: [email protected]

Include:

  • Error message (full text)
  • Steps to reproduce
  • Browser/OS version
  • Screenshot if applicable
  • Your tenant ID (if applicable)

Response Time:

  • Critical (P0): 1 hour
  • High (P1): 4 hours
  • Medium (P2): 1 business day
  • Low (P3): 3 business days

Last Updated: 2025-11-08

Built with VitePress