Error Codes Reference
Complete reference of BroxiAI error codes, messages, and solutions
This comprehensive reference covers all BroxiAI error codes, their meanings, and specific solutions for each error type.
HTTP Status Codes
Client Error Codes (4xx)
400
Bad Request
Invalid request syntax
Malformed JSON, missing parameters
Check request format and required fields
401
Unauthorized
Authentication failed
Invalid/missing API token
Verify API token validity
403
Forbidden
Access denied
Insufficient permissions
Check account permissions and plan limits
404
Not Found
Resource doesn't exist
Wrong ID, deleted resource
Verify resource ID and existence
405
Method Not Allowed
HTTP method not supported
Using GET instead of POST
Check API documentation for correct method
409
Conflict
Resource conflict
Duplicate resource creation
Check for existing resources
422
Unprocessable Entity
Validation failed
Invalid data format
Validate input data against schema
429
Too Many Requests
Rate limit exceeded
Too many API calls
Implement rate limiting and backoff
Server Error Codes (5xx)
500
Internal Server Error
Server-side issue
System error, bug
Contact support with error details
502
Bad Gateway
Upstream service error
Third-party service down
Check service status, retry later
503
Service Unavailable
Service temporarily down
Maintenance, overload
Check status page, retry later
504
Gateway Timeout
Upstream service timeout
Slow response from services
Retry request, check timeout settings
BroxiAI-Specific Error Codes
Authentication Errors
AUTH_TOKEN_INVALID
Causes:
Token is malformed or corrupted
Token has been revoked
Token is for wrong environment
Solutions:
Regenerate API token from dashboard
Verify token format (should start with
bx_)Check environment (staging vs production)
AUTH_TOKEN_EXPIRED
Solutions:
Generate new API token
Implement automatic token refresh
Set up expiration alerts
AUTH_INSUFFICIENT_SCOPE
Solutions:
Regenerate token with required permissions
Contact admin for permission upgrade
Check account plan limits
Workflow Errors
WORKFLOW_NOT_FOUND
Causes:
Workflow was deleted
Wrong workflow ID
Workflow not published
Solutions:
Verify workflow ID
Check if workflow is published
Ensure workflow exists in current workspace
WORKFLOW_NOT_PUBLISHED
Solutions:
Publish workflow from editor
Check workflow validation errors
Ensure all components are configured
WORKFLOW_EXECUTION_FAILED
Solutions:
Check component configuration
Review error logs
Fix failing component
Retry execution
WORKFLOW_TIMEOUT
Solutions:
Optimize workflow performance
Increase timeout settings
Break down complex workflows
Use async processing
Component Errors
COMPONENT_CONFIGURATION_ERROR
Solutions:
Provide all required parameters
Validate parameter values
Check parameter format
Review component documentation
COMPONENT_CONNECTION_ERROR
Solutions:
Add data transformation component
Check component compatibility
Verify data type mappings
Review workflow design
COMPONENT_EXECUTION_ERROR
Solutions:
Check component inputs
Verify supported formats
Review component logs
Update component configuration
API Integration Errors
API_KEY_INVALID
Solutions:
Verify API key for external service
Check API key permissions
Regenerate API key if needed
Ensure correct environment (test/prod)
API_QUOTA_EXCEEDED
Solutions:
Wait for quota reset
Upgrade API plan
Optimize token usage
Implement usage monitoring
API_SERVICE_UNAVAILABLE
Solutions:
Wait and retry after specified time
Check service status page
Implement retry logic
Use alternative service if available
Data Processing Errors
FILE_TOO_LARGE
Solutions:
Compress file before upload
Split large files into smaller chunks
Use file compression tools
Upgrade plan for larger limits
FILE_FORMAT_UNSUPPORTED
Solutions:
Convert file to supported format
Check supported format list
Use file conversion tools
Contact support for format requests
TEXT_PROCESSING_FAILED
Solutions:
Verify file is not corrupted
Try different file format
Re-create or re-export file
Use OCR for scanned documents
Memory and State Errors
MEMORY_LIMIT_EXCEEDED
Solutions:
Optimize data processing
Process data in smaller chunks
Clear unnecessary variables
Upgrade to higher memory plan
SESSION_EXPIRED
Solutions:
Re-authenticate user
Implement session refresh
Check session timeout settings
Use persistent authentication
STATE_PERSISTENCE_FAILED
Solutions:
Retry workflow execution
Check storage connectivity
Verify storage permissions
Contact support if persistent
Rate Limiting Errors
RATE_LIMIT_EXCEEDED
Solutions:
Implement exponential backoff
Spread requests over time
Upgrade to higher rate limits
Use request queuing
CONCURRENT_EXECUTION_LIMIT
Solutions:
Wait for current executions to complete
Queue workflow executions
Optimize workflow performance
Upgrade plan for higher limits
Error Response Format
All BroxiAI API errors follow this standard format:
Response Fields
error: Machine-readable error code
message: Human-readable error description
code: Numeric error code
timestamp: When the error occurred
request_id: Unique request identifier for support
details: Additional context specific to the error
help_url: Link to specific documentation
Error Handling Best Practices
1. Implement Proper Error Handling
2. Implement Retry Logic
3. Log Errors Properly
Debugging Tips
1. Use Request IDs
Every error response includes a request_id. Include this when contacting support:
2. Enable Debug Logging
3. Test with Minimal Examples
When debugging, create minimal reproduction cases:
Getting Help
When encountering errors:
Check this reference for specific error codes
Review error details in the response
Check service status at status.broxi.ai
Contact support with error details and request ID
Support Information to Include:
Complete error response (including request_id)
Steps to reproduce the error
Account/workspace information
Relevant configuration details
Last updated