
Troubleshooting Guide
This comprehensive troubleshooting guide provides detailed diagnostic procedures and solutions for issues you may encounter when using Prisme.ai. The guide is organized by product area and includes step-by-step instructions, diagnostic tools, and advanced solutions.Diagnostic Tools and Resources
Before diving into specific issues, familiarize yourself with these diagnostic tools available in Prisme.ai:Activity Logs
- Path: Administration > Activity Logs
- Filter by time, user, event type, and severity
System Health Dashboard
- Path: Administration > System Health
- Check component status and resource utilization
Network Inspector
- Available in browser developer tools
- Check request/response patterns and errors
Debug Mode
- Path: User Profile > Preferences > Enable Debug Mode
- Provides additional diagnostic information in UI
Knowledges Troubleshooting
Document Processing Issues
Check Document Status
- Queued: Document is waiting to be processed
- Processing: Document is currently being processed
- Active: Document has been successfully processed
- Error: Processing failed
- Inactive: Document is not being used for retrieval
Diagnose Document Format Issues
- Check if the document is in a supported format (PDF, DOCX, TXT, etc.)
- Verify the document isn’t corrupted by opening it in its native application
- For PDFs, check if they’re scanned documents or contain actual text
- Look for password protection or security settings that might block processing
Resolve Text Extraction Problems
- For scanned PDFs, enable OCR in the project settings
- Check for unusual fonts that might not be recognized
- Verify character encoding issues, especially with non-Latin scripts
- Look for image-heavy documents with limited text
Fix Chunking and Embedding Issues
- Adjust chunk size settings (smaller chunks for precise retrieval, larger for context)
- Modify chunk overlap (higher overlap prevents information fragmentation)
- Try different embedding models
- Check metadata extraction settings
Query and Retrieval Problems
Diagnose Retrieval Failures
- Check that documents containing the information are in “Active” status
- Verify the query uses keywords or phrases that match your documents
- Examine retrieved chunks to understand what’s being returned
- Review metadata filters that might be excluding relevant documents
Fix Relevance Issues
- Enable query enhancement to improve search effectiveness
- Adjust the similarity threshold for retrieval
- Try different retrieval methods (semantic, keyword, hybrid)
- Adjust the number of chunks being retrieved
Resolve Citation Problems
- Check document metadata for proper source information
- Verify chunk size settings (too small can fragment citations)
- Examine LLM settings that control citation behavior
- Review system prompt instructions regarding citations
Builder Troubleshooting
Automation Flow Issues
Diagnose Trigger Problems
- Verify event names match exactly between trigger and emitter
- Check scope settings (current socket, workspace, global)
- Examine conditions that might prevent triggering
- Confirm the automation is published and active
Resolve Data Flow Issues
- Use
console.logor similar logging to inspect data at each step - Check for type mismatches (string vs number, object vs array)
- Verify variable names and paths are correct (case sensitivity matters)
- Look for null or undefined values that might cause errors
Fix External Integration Problems
- Test the API endpoint independently using Postman or similar tools
- Verify authentication credentials are valid and not expired
- Check request format matches API requirements
- Examine network logs for detailed error responses
Custom Code Troubleshooting
Debug JavaScript Errors
- Use
console.logstatements to trace execution flow - Check for syntax errors or typos
- Verify variable scopes and closures
- Test functions with simplified inputs
Resolve Timeout Issues
- Check for infinite loops or recursive calls
- Look for blocking operations that take too long
- Verify external API calls include proper timeout handling
- Consider breaking large functions into smaller, chainable functions
Fix Memory or Performance Issues
- Look for inefficient algorithms or data structures
- Check for memory leaks from accumulated objects
- Verify you’re not processing unnecessarily large datasets
- Consider pagination or streaming for large data operations
Self-Hosted Deployment Troubleshooting
Installation and Startup Issues
Diagnose Kubernetes Deployment Failures
- Check pod status:
kubectl get pods -n prisme - Examine pod events:
kubectl describe pod [pod-name] -n prisme - View container logs:
kubectl logs [pod-name] -n prisme - Verify persistent volume claims are bound
Resolve Configuration Errors
- Check Helm values for correctness:
helm get values prisme -n prisme - Verify environment variables and secrets
- Examine ConfigMap and Secret resources
- Check for syntax errors in YAML files
helm lint to check for YAML errors, and verify all required values are provided.Fix Connectivity Issues
- Verify network policies allow required traffic
- Check service definitions are correct
- Test connectivity between pods using debug containers
- Examine DNS resolution within the cluster
Performance and Scaling Issues
Diagnose Resource Constraints
- Check CPU and memory usage:
kubectl top pods -n prisme - Examine node resources:
kubectl top nodes - Look for throttling in container logs
- Monitor database performance metrics
Resolve Database Performance Issues
- Check database connection pools and active connections
- Examine slow query logs
- Monitor storage performance (IOPS, latency)
- Verify indexing is appropriate for query patterns
Fix Scaling Problems
- Verify Horizontal Pod Autoscaler configuration
- Check if load balancing is working correctly
- Monitor scaling events and look for errors
- Examine resource quotas that might limit scaling
Data Management Troubleshooting
Data Import and Export Issues
Diagnose Import Failures
- Check the format of your import file (CSV, JSON, etc.)
- Verify field mappings match expected schema
- Look for encoding issues, especially with special characters
- Check for size limitations being exceeded
Resolve Export Problems
- Verify export permissions
- Check for timeout issues with large exports
- Examine file format compatibility
- Verify destination storage has sufficient space
Data Integration Issues
Fix Sync Problems
- Check authentication credentials for external systems
- Verify API endpoints are accessible
- Look for rate limiting or throttling
- Examine data mapping and transformation errors
Resolve Data Consistency Issues
- Check for race conditions in parallel updates
- Verify transaction boundaries are appropriate
- Look for caching issues that might show stale data
- Examine error handling in update processes
Additional Resources
If you’re still experiencing issues after following this troubleshooting guide:Contact Support
Community Forum
Common Issues
Training Programs
Submitting an Effective Support Request
When contacting support, include these details for faster resolution:- Detailed description of the issue
- Steps to reproduce
- Error messages (exact text)
- Screenshots or screen recordings
- Log files when available
- Environment details (browser, OS, deployment type)
- Recent changes that might be related to the issue