Skip to main content

Error Response Format

All API errors follow a consistent JSON structure:
Fields:
  • status - HTTP status code as an integer
  • message - Human-readable error description

HTTP Status Codes

The ComfyControl API uses standard HTTP status codes to indicate success or failure:

Success Codes

Client Error Codes

Server Error Codes

Common Error Scenarios

Bad Request (400)

Occurs when request parameters fail validation. Example Scenarios:
  • Invalid UUID format
  • Missing required fields
  • Invalid field types
  • Validation constraints not met

Unauthorized (401)

Authentication failures due to token issues. Example Scenarios:
  • Missing Authorization header
  • Invalid token format
  • Expired token
  • Revoked token

Forbidden (403)

Valid authentication but action not allowed. Example Scenarios:
  • Tier limits exceeded
  • Insufficient permissions
  • Resource belongs to another user
  • Managed runner access without Pro/Plus tier

Not Found (404)

Requested resource doesn’t exist or doesn’t belong to you. Example Scenarios:
  • Invalid resource ID
  • Resource deleted
  • Resource belongs to different user

Rate Limited (429)

Too many requests in a short time period. Details:
  • Limit: 40 requests per 10 seconds
  • Cooldown: 10 seconds
  • Identifier: IP address

Internal Server Error (500)

Unexpected server-side error. What to do:
  • Retry the request after a brief delay
  • Check API status page
  • Contact support if issue persists

Validation Errors

Validation errors provide specific feedback about what went wrong: Runner Name Validation:
Endpoint URL Validation:
Tags Validation:
File Size Validation:

Workflow-Specific Errors

Workflows can encounter specific error states: Invalid Workflow JSON:
No Available Runner:
Workflow Execution Errors: When a workflow fails during execution, check the workflow detail endpoint for:
  • error_node - The ComfyUI node that failed
  • exception_type - Type of exception
  • exception_message - Detailed error message

Need Help?

If you encounter persistent errors:
  1. Check this documentation for common solutions
  2. Verify your authentication token is valid
  3. Ensure you’re within rate limits
  4. Review the API Reference for correct usage
  5. Contact support at support@comfycontrol.app with:
    • Request ID (if provided)
    • Timestamp of the error
    • Full error message
    • Steps to reproduce