> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ravvio.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Common Issues

> Solutions to frequently encountered problems and troubleshooting guide for Ravvio platform

## Common Issues Overview

This troubleshooting guide addresses the most frequently encountered issues with Ravvio platform and provides step-by-step solutions to resolve them quickly.

### Issue Categories

<CardGroup cols={2}>
  <Card title="Agent Performance" icon="robot">
    Issues related to agent responses, behavior, and functionality
  </Card>

  <Card title="Integration Problems" icon="link">
    Website integration, embedding, and connectivity issues
  </Card>

  <Card title="System Performance" icon="activity">
    Platform performance, speed, and reliability concerns
  </Card>

  <Card title="Account & Billing" icon="user">
    Account access, billing, and subscription-related problems
  </Card>
</CardGroup>

## Agent Not Responding

### Knowledge Base Issues

<AccordionGroup>
  <Accordion title="Documents Not Uploaded or Indexed">
    **Problem Symptoms:**

    * Agent provides generic responses instead of specific information
    * No reference to uploaded documents in responses
    * "I don't have information about that" responses to known topics

    **Diagnostic Steps:**

    1. Navigate to Knowledge Base section in dashboard
    2. Verify documents are listed and status shows "Ready"
    3. Check document processing status and error messages
    4. Confirm file formats are supported (PDF, DOCX, TXT, CSV, JSON, MD, HTML)

    **Solutions:**

    * Re-upload documents if processing failed
    * Wait for index building to complete (can take several minutes)
    * Check file size limits and format compatibility
    * Verify document content is text-based, not image-only
    * Contact support if processing continues to fail
  </Accordion>

  <Accordion title="Index Health Problems">
    **Problem Indicators:**

    * Index status shows "Building" for extended periods
    * Index status shows "Error" with failed processing
    * Agent responses inconsistent with uploaded content
    * Knowledge base search not finding relevant information

    **Troubleshooting Process:**

    1. Check index health status in dashboard
    2. Review error logs and processing messages
    3. Verify document integrity and content quality
    4. Attempt to reprocess problematic documents

    **Resolution Steps:**

    * Remove and re-upload problematic documents
    * Ensure documents contain readable text content
    * Break large documents into smaller sections
    * Contact support for persistent indexing issues
  </Accordion>
</AccordionGroup>

### System Prompt Configuration

<Steps>
  <Step title="Incomplete Prompt Configuration">
    **Issue Identification:**

    * Agent responses don't match intended personality
    * Inconsistent tone or behavior across conversations
    * Generic responses without business context
    * Setup progress shows system prompt as incomplete
  </Step>

  <Step title="Verification Process">
    **Configuration Check:**

    * Navigate to Agent Management > System Prompt
    * Verify all required fields are completed
    * Check that prompt reflects desired agent behavior
    * Ensure business context and role are clearly defined
  </Step>

  <Step title="Configuration Optimization">
    **Improvement Actions:**

    * Complete all sections of system prompt configuration
    * Add specific business context and company information
    * Define clear role and expertise areas
    * Test changes in playground before deployment
  </Step>
</Steps>

### Credit and Account Issues

<CardGroup cols={2}>
  <Card title="Credits Exhausted" icon="credit-card">
    **Problem Recognition:**

    * Agent stops responding to new messages
    * Dashboard shows zero or negative credit balance
    * Users see "agent unavailable" messages

    **Immediate Solutions:**

    * Check credit balance in billing dashboard
    * Purchase credit top-up if on paid plan
    * Upgrade plan for automatic credit renewal
    * Monitor usage to prevent future exhaustion
  </Card>

  <Card title="Network Connectivity" icon="wifi">
    **Connection Issues:**

    * Intermittent agent responses
    * Slow response times or timeouts
    * Dashboard loading problems

    **Troubleshooting Steps:**

    * Check internet connection stability
    * Try accessing from different network
    * Clear browser cache and cookies
    * Disable VPN or proxy if in use
  </Card>
</CardGroup>

## Integration Problems

### Code Placement Issues

<AccordionGroup>
  <Accordion title="Incorrect Script Placement">
    **Common Mistakes:**

    * Script placed in `<head>` section instead of before `</body>`
    * Script loaded after page content is already rendered
    * Multiple script tags causing conflicts
    * Script placement inside other elements or containers

    **Correct Implementation:**

    ```html theme={null}
    <!-- Other page content -->

    <!-- Place Ravvio script before closing body tag -->
    <script src="your-ravvio-widget-script.js"></script>
    </body>
    </html>
    ```

    **Verification:**

    * View page source to confirm script placement
    * Check browser developer tools for script loading
    * Test widget appearance on live website
    * Verify functionality across different pages
  </Accordion>

  <Accordion title="Script Loading Issues">
    **Loading Problems:**

    * Widget doesn't appear on website
    * JavaScript errors in browser console
    * Partial widget loading or broken functionality
    * Widget appears but doesn't respond to clicks

    **Resolution Steps:**

    1. Check browser developer console for errors
    2. Verify script URL is correct and accessible
    3. Ensure no conflicting JavaScript on page
    4. Test with ad blockers and extensions disabled
    5. Validate HTML structure and syntax
  </Accordion>
</AccordionGroup>

### Browser Cache Issues

<Steps>
  <Step title="Cache-Related Problems">
    **Problem Symptoms:**

    * Old widget version appears despite updates
    * Configuration changes not reflected on website
    * Widget functionality inconsistent across visits
    * Outdated styling or appearance persists
  </Step>

  <Step title="Cache Clearing Process">
    **Browser Cache Clearing:**

    * Chrome: Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac)
    * Firefox: Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac)
    * Safari: Develop menu > Empty Caches
    * Edge: Ctrl+Shift+Delete

    **Additional Steps:**

    * Clear cookies for your domain
    * Disable browser extensions temporarily
    * Try incognito/private browsing mode
    * Test on different browsers
  </Step>

  <Step title="CDN and Server Cache">
    **Server-Side Solutions:**

    * Clear CDN cache if using content delivery network
    * Flush server-side caches (WordPress, etc.)
    * Update script version or add cache-busting parameters
    * Contact hosting provider for assistance
  </Step>
</Steps>

### Console Errors

<CardGroup cols={2}>
  <Card title="JavaScript Errors" icon="alert-triangle">
    **Common Error Types:**

    * "Script not found" or 404 errors
    * "Permission denied" or CORS errors
    * "Function not defined" or reference errors
    * "Network error" or timeout issues
  </Card>

  <Card title="Error Resolution" icon="wrench">
    **Debugging Process:**

    * Open browser developer tools (F12)
    * Check Console tab for error messages
    * Note specific error descriptions and line numbers
    * Take screenshots of errors for support
  </Card>
</CardGroup>

### Mobile Compatibility

<AccordionGroup>
  <Accordion title="Mobile Display Issues">
    **Common Problems:**

    * Widget not appearing on mobile devices
    * Poor responsive design or layout issues
    * Touch interaction problems
    * Performance issues on mobile networks

    **Mobile Testing:**

    * Test on actual mobile devices, not just desktop simulation
    * Check both iOS and Android devices
    * Verify touch interactions work properly
    * Test on different screen sizes and orientations
  </Accordion>

  <Accordion title="Mobile Optimization">
    **Performance Improvements:**

    * Ensure widget is mobile-responsive
    * Check loading speed on mobile networks
    * Verify widget size appropriate for mobile screens
    * Test with different mobile browsers

    **Configuration Adjustments:**

    * Adjust widget position for mobile layout
    * Optimize widget size for touch interfaces
    * Consider mobile-specific styling options
    * Test viewport and zoom compatibility
  </Accordion>
</AccordionGroup>

## Performance Issues

### Response Speed Problems

<Steps>
  <Step title="Slow Response Times">
    **Performance Indicators:**

    * Agent takes more than 10 seconds to respond
    * Users experience long waiting periods
    * Timeouts or incomplete responses
    * Inconsistent response timing
  </Step>

  <Step title="Agent Health Assessment">
    **System Check:**

    * Check agent health status in dashboard
    * Review system performance metrics
    * Verify knowledge base index health
    * Monitor real-time performance indicators
  </Step>

  <Step title="Optimization Actions">
    **Performance Improvements:**

    * Optimize knowledge base content organization
    * Reduce system prompt complexity
    * Check for network connectivity issues
    * Consider reducing concurrent user load
  </Step>
</Steps>

### Message Quality Issues

<CardGroup cols={2}>
  <Card title="Poor Response Quality" icon="thumbs-down">
    **Quality Problems:**

    * Inaccurate or irrelevant responses
    * Inconsistent personality or tone
    * Repetitive or generic answers
    * Poor grammar or formatting
  </Card>

  <Card title="Quality Improvement" icon="trending-up">
    **Enhancement Strategies:**

    * Review and refine system prompt configuration
    * Update and organize knowledge base content
    * Test responses in playground environment
    * Gather user feedback for optimization
  </Card>
</CardGroup>

### Session Limits

<AccordionGroup>
  <Accordion title="Concurrent User Limits">
    **Capacity Issues:**

    * Users unable to start new conversations
    * "Agent busy" messages during peak times
    * Degraded performance with multiple users
    * Session queue delays and waiting times

    **Immediate Solutions:**

    * Monitor concurrent session limits
    * Check account plan limitations
    * Consider upgrading for higher capacity
    * Implement user queue management
  </Accordion>

  <Accordion title="Resource Management">
    **Optimization Strategies:**

    * Analyze usage patterns and peak times
    * Optimize conversation efficiency
    * Consider load balancing strategies
    * Plan capacity for expected traffic
  </Accordion>
</AccordionGroup>

### Server Status Issues

<Steps>
  <Step title="Platform Status Verification">
    **Service Health Check:**

    * Check Ravvio platform operational status
    * Verify system maintenance schedules
    * Review service disruption notifications
    * Monitor real-time system health indicators
  </Step>

  <Step title="Status Communication">
    **Information Sources:**

    * Dashboard system status indicators
    * Email notifications for service issues
    * Support team communications
    * Platform status page updates
  </Step>

  <Step title="Issue Escalation">
    **When to Contact Support:**

    * Persistent performance issues
    * Unresolved technical problems
    * Service disruptions affecting business
    * Integration failures requiring assistance
  </Step>
</Steps>

## General Troubleshooting Steps

### Systematic Problem Resolution

<CardGroup cols={2}>
  <Card title="Initial Assessment" icon="search">
    **Problem Identification:**

    * Document specific symptoms and error messages
    * Note when the problem started occurring
    * Identify affected users or functionality
    * Check if issue is consistent or intermittent
  </Card>

  <Card title="Basic Solutions" icon="refresh">
    **First-Line Fixes:**

    * Refresh page and clear browser cache
    * Try different browser or device
    * Check internet connection stability
    * Verify account status and credit balance
  </Card>
</CardGroup>

### Advanced Diagnostics

<AccordionGroup>
  <Accordion title="Technical Investigation">
    **Detailed Analysis:**

    * Review browser developer console for errors
    * Check network tab for failed requests
    * Examine configuration settings and changes
    * Test in playground environment

    **Data Collection:**

    * Screenshot error messages
    * Note exact error text and codes
    * Document steps to reproduce issue
    * Record browser and system information
  </Accordion>

  <Accordion title="Escalation Criteria">
    **When to Contact Support:**

    * Issue persists after following troubleshooting steps
    * Problem affects business operations or revenue
    * Technical error messages are unclear
    * Multiple users report the same issue

    **Support Information to Provide:**

    * Detailed problem description
    * Steps already attempted to resolve
    * Screenshots or recordings of issue
    * Account information and affected features
  </Accordion>
</AccordionGroup>

<Note>
  **Documentation**: Keep records of troubleshooting steps and solutions for future reference and team knowledge sharing.
</Note>

<Tip>
  **Preventive Maintenance**: Regular monitoring and proactive maintenance help prevent many common issues from occurring.
</Tip>

<Warning>
  **Data Safety**: Always backup important configuration and data before making significant changes during troubleshooting.
</Warning>
