Troubleshooting Guide¶
This guide provides solutions for common issues you may encounter while using CalcBridge. If your issue is not covered here, please contact support@calcbridge.io.
Upload Issues¶
Upload Fails with "File Too Large"¶
Symptoms: - Error message: "File exceeds maximum size limit" - Upload progress stops at 0%
Solutions:
- Check file size - Maximum default size is 100 MB
- Remove unnecessary data:
- Delete unused sheets
- Remove historical data not needed for calculations
- Clear formatting that increases file size
- Split the workbook:
- Separate data into multiple files
- Upload each file separately
- Request limit increase: Contact support for enterprise limits
Upload Fails with "Invalid File Format"¶
Symptoms: - Error message: "Unsupported file format" - File appears to be Excel but won't upload
Solutions:
- Verify file extension - Must be
.xlsx,.xls, or.xlsm - Check for file corruption:
- Open the file in Excel
- Save as a new file
- Try uploading the new file
- Convert file format:
- If using
.xlsb, save as.xlsx - If using
.csv, import into Excel first - Remove password protection:
- CalcBridge cannot open encrypted files
- Remove password in Excel before upload
Upload Fails with "Parsing Error"¶
Symptoms: - Error message: "Failed to parse workbook" - Upload completes but processing fails
Solutions:
- Fix formula errors in Excel first:
- Look for
#REF!errors (broken references) - Look for
#NAME?errors (unknown functions) - Fix or remove problem formulas
- Check for unsupported features:
- External links (remove or break)
- Data connections (remove)
- Pivot tables (convert to values)
- Simplify the workbook:
- Remove charts and images
- Remove conditional formatting
- Remove data validation
Upload Stuck at Processing¶
Symptoms: - Upload reaches 100% but processing never completes - Status shows "Processing" indefinitely
Solutions:
- Wait longer - Large files may take 5-10 minutes
- Check workbook complexity:
- Many cross-sheet references slow parsing
- Reduce dependencies if possible
- Try a smaller test file:
- Upload a single sheet to test
- Gradually add complexity
- Clear browser cache and retry
- Contact support if issue persists over 30 minutes
Calculation Errors¶
Formula Returns #VALUE! Error¶
Cause: Invalid input type for a function
Common scenarios:
| Scenario | Solution |
|---|---|
| Text in numeric function | Ensure inputs are numbers |
| Empty cell in required position | Add default value or IFERROR |
| Date format issue | Use DATE() function explicitly |
Example fix:
Formula Returns #REF! Error¶
Cause: Invalid cell reference
Common scenarios:
| Scenario | Solution |
|---|---|
| Deleted column/row | Update reference to existing cells |
| Renamed sheet | Update sheet name in reference |
| Out of range | Adjust range boundaries |
Example fix:
Formula Returns #NAME? Error¶
Cause: Unknown function name or undefined name
Solutions:
- Check function spelling - Functions are case-insensitive but must be spelled correctly
- Verify function is supported - See Functions Reference
- Check named ranges - Named ranges from Excel may not transfer
- Remove custom functions - VBA/user-defined functions are not supported
Formula Returns #DIV/0! Error¶
Cause: Division by zero
Solution: Add error handling
Formula Returns #N/A Error¶
Cause: Lookup value not found
Solution: Add default value
# Before (error)
=VLOOKUP(A1, B:C, 2, FALSE)
# After (fixed)
=IFERROR(VLOOKUP(A1, B:C, 2, FALSE), "Not Found")
# or
=XLOOKUP(A1, B:B, C:C, "Not Found")
Circular Reference Detected¶
Cause: Formula references itself directly or indirectly
Symptoms: - Error message: "Circular reference detected" - Calculation does not complete
Solutions:
- Identify the cycle:
- Check the error message for cell addresses
- Trace precedents and dependents
- Break the cycle:
- Restructure formulas to avoid self-reference
- Use intermediate calculation cells
- Note: CalcBridge does not support iterative calculation like Excel
Calculation Times Out¶
Cause: Calculation exceeds time limit
Solutions:
- Reduce complexity:
- Use SUMIFS instead of SUMPRODUCT where possible
- Avoid volatile functions (INDIRECT, OFFSET)
- Use specific ranges instead of entire columns
- Split calculations:
- Divide into multiple sheets
- Calculate in stages
- Contact support for enterprise calculation limits
API Errors¶
401 Unauthorized¶
Cause: Invalid or expired authentication
Solutions:
- Check token validity:
- JWT tokens expire after 1 hour
- Refresh the token using the refresh endpoint
- Verify API key:
- Check the key is correct
- Verify the key has not been revoked
- Check header format:
403 Forbidden¶
Cause: Insufficient permissions
Solutions:
- Check user role:
- Verify your role has permission for the action
- Contact admin to upgrade role if needed
- Check resource ownership:
- You can only access resources in your tenant
- Verify the workbook/resource ID is correct
- Check API key scope:
- Some API keys have limited scopes
- Create a new key with required permissions
404 Not Found¶
Cause: Resource does not exist
Solutions:
- Verify the resource ID - Check for typos
- Check if deleted - Resource may have been removed
- Verify tenant context - Resource must be in your tenant
- Check API endpoint - Verify the URL is correct
429 Too Many Requests¶
Cause: Rate limit exceeded
Solutions:
- Implement exponential backoff:
- Reduce request frequency
- Use batch endpoints for multiple operations
- Upgrade subscription for higher limits
500 Internal Server Error¶
Cause: Server-side error
Solutions:
- Retry the request - May be temporary
- Check request body - Ensure valid JSON
- Reduce request size - Large payloads may fail
- Contact support with:
- Timestamp of error
- Request details
- Error message
Performance Issues¶
Workbook Takes Long to Load¶
Possible causes:
| Cause | Solution |
|---|---|
| Large file size | Split into smaller workbooks |
| Many sheets | Remove unused sheets |
| Complex formulas | Simplify or pre-calculate |
| Slow network | Check internet connection |
Calculations Are Slow¶
Optimization steps:
-
Use efficient functions:
-
Avoid entire column references:
-
Reduce cross-sheet references:
- Consolidate related data on same sheet
-
Use helper columns instead of repeated lookups
-
Use XLOOKUP instead of VLOOKUP:
- XLOOKUP is optimized for large datasets
Dashboard Loads Slowly¶
Solutions:
- Reduce widget count - Remove unused widgets
- Filter data - Show only relevant portfolios
- Shorten time period - Reduce historical data displayed
- Clear browser cache
- Try a different browser
Browser Issues¶
Page Not Loading¶
Solutions:
- Check internet connection
- Clear browser cache and cookies
- Try incognito/private mode
- Try a different browser
- Check for browser extensions blocking content
- Verify browser is supported (Chrome, Firefox, Safari, Edge 90+)
Features Not Working¶
Solutions:
- Enable JavaScript - Required for CalcBridge
- Disable ad blockers - May block API calls
- Check console for errors - Press F12 > Console tab
- Update browser to latest version
Display Issues¶
Solutions:
- Zoom level - Reset to 100%
- Clear cache - Cached CSS may be outdated
- Try different browser - Cross-browser testing
- Check screen resolution - Minimum 1280x720 recommended
Common Error Messages¶
| Error Message | Meaning | Solution |
|---|---|---|
| "Session expired" | JWT token expired | Log in again |
| "Workbook not found" | Invalid workbook ID | Verify ID is correct |
| "Calculation in progress" | Previous calc not finished | Wait and retry |
| "Quota exceeded" | Subscription limit reached | Upgrade or wait for reset |
| "Invalid formula syntax" | Formula parsing failed | Fix formula syntax |
| "Unsupported function" | Function not in CalcBridge | Use supported function |
| "Tenant not found" | Invalid tenant context | Contact support |
| "Rate limit exceeded" | Too many API requests | Implement backoff |
Getting More Help¶
If your issue is not resolved:
- Search documentation - Use the search bar
- Check FAQ - See FAQ
- Contact support:
- Email: support@calcbridge.io
- Include: account email, steps to reproduce, error messages
- Report bugs:
- GitHub: Issues
- Include: browser, OS, screenshots
Diagnostic Information¶
When contacting support, include:
Browser: Chrome 120.0.6099.71
OS: macOS 14.2
CalcBridge Version: 1.1.0
Timestamp: 2025-01-15T10:30:00Z
Error Code: ERR_CALC_TIMEOUT
Request ID: req_abc123xyz
Find this information: - Click ? > About for version - Browser DevTools > Console for errors - Network tab for request IDs