# 2.7. Error Handling

#### Common Error Codes

<table><thead><tr><th width="227">Error Code</th><th>Description</th><th>User Message</th><th>Resolution</th></tr></thead><tbody><tr><td>COMPANY_LIMIT_EXCEEDED</td><td>>5 companies in query</td><td>"Please limit your query to 5 or fewer companies for optimal analysis"</td><td>Refine query to focus on key companies</td></tr><tr><td>COMPANY_NOT_FOUND</td><td>Company not in database</td><td>"Could not find official filings for [Company]"</td><td>Verify company is publicly traded</td></tr><tr><td>TIMEOUT</td><td>Processing exceeded limit</td><td>"Query is taking longer than expected"</td><td>Retry or simplify query</td></tr></tbody></table>

#### Best Pract

#### Best Practices for Error Prevention

* Start with 2-3 companies for comparisons
* Specify clear timeframes when relevant
* Use exact company names or tickers
* Break complex queries into multiple simpler ones
