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)

Code
Status
Meaning
Common Causes
Solutions

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)

Code
Status
Meaning
Common Causes
Solutions

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:

  1. Regenerate API token from dashboard

  2. Verify token format (should start with bx_)

  3. Check environment (staging vs production)

AUTH_TOKEN_EXPIRED

Solutions:

  1. Generate new API token

  2. Implement automatic token refresh

  3. Set up expiration alerts

AUTH_INSUFFICIENT_SCOPE

Solutions:

  1. Regenerate token with required permissions

  2. Contact admin for permission upgrade

  3. Check account plan limits

Workflow Errors

WORKFLOW_NOT_FOUND

Causes:

  • Workflow was deleted

  • Wrong workflow ID

  • Workflow not published

Solutions:

  1. Verify workflow ID

  2. Check if workflow is published

  3. Ensure workflow exists in current workspace

WORKFLOW_NOT_PUBLISHED

Solutions:

  1. Publish workflow from editor

  2. Check workflow validation errors

  3. Ensure all components are configured

WORKFLOW_EXECUTION_FAILED

Solutions:

  1. Check component configuration

  2. Review error logs

  3. Fix failing component

  4. Retry execution

WORKFLOW_TIMEOUT

Solutions:

  1. Optimize workflow performance

  2. Increase timeout settings

  3. Break down complex workflows

  4. Use async processing

Component Errors

COMPONENT_CONFIGURATION_ERROR

Solutions:

  1. Provide all required parameters

  2. Validate parameter values

  3. Check parameter format

  4. Review component documentation

COMPONENT_CONNECTION_ERROR

Solutions:

  1. Add data transformation component

  2. Check component compatibility

  3. Verify data type mappings

  4. Review workflow design

COMPONENT_EXECUTION_ERROR

Solutions:

  1. Check component inputs

  2. Verify supported formats

  3. Review component logs

  4. Update component configuration

API Integration Errors

API_KEY_INVALID

Solutions:

  1. Verify API key for external service

  2. Check API key permissions

  3. Regenerate API key if needed

  4. Ensure correct environment (test/prod)

API_QUOTA_EXCEEDED

Solutions:

  1. Wait for quota reset

  2. Upgrade API plan

  3. Optimize token usage

  4. Implement usage monitoring

API_SERVICE_UNAVAILABLE

Solutions:

  1. Wait and retry after specified time

  2. Check service status page

  3. Implement retry logic

  4. Use alternative service if available

Data Processing Errors

FILE_TOO_LARGE

Solutions:

  1. Compress file before upload

  2. Split large files into smaller chunks

  3. Use file compression tools

  4. Upgrade plan for larger limits

FILE_FORMAT_UNSUPPORTED

Solutions:

  1. Convert file to supported format

  2. Check supported format list

  3. Use file conversion tools

  4. Contact support for format requests

TEXT_PROCESSING_FAILED

Solutions:

  1. Verify file is not corrupted

  2. Try different file format

  3. Re-create or re-export file

  4. Use OCR for scanned documents

Memory and State Errors

MEMORY_LIMIT_EXCEEDED

Solutions:

  1. Optimize data processing

  2. Process data in smaller chunks

  3. Clear unnecessary variables

  4. Upgrade to higher memory plan

SESSION_EXPIRED

Solutions:

  1. Re-authenticate user

  2. Implement session refresh

  3. Check session timeout settings

  4. Use persistent authentication

STATE_PERSISTENCE_FAILED

Solutions:

  1. Retry workflow execution

  2. Check storage connectivity

  3. Verify storage permissions

  4. Contact support if persistent

Rate Limiting Errors

RATE_LIMIT_EXCEEDED

Solutions:

  1. Implement exponential backoff

  2. Spread requests over time

  3. Upgrade to higher rate limits

  4. Use request queuing

CONCURRENT_EXECUTION_LIMIT

Solutions:

  1. Wait for current executions to complete

  2. Queue workflow executions

  3. Optimize workflow performance

  4. 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:

  1. Check this reference for specific error codes

  2. Review error details in the response

  3. Check service status at status.broxi.ai

  4. 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


Keep this reference handy for quick error resolution. Most errors can be resolved using the solutions provided here.

Last updated