Errors

Understand Buble API error responses and common recovery actions.

Errors

Buble API errors use a consistent response format.

Error format

{
  "error": {
    "code": "invalid_api_key",
    "message": "Invalid or inactive API key.",
    "details": {}
  }
}

details is included only when additional structured information is available.

Authentication errors

CodeHTTPMeaningRecovery
missing_api_key401No API key was provided.Send Authorization: Bearer <key>.
invalid_api_key401API key is invalid, inactive, or deleted.Check or rotate the key.
invalid_api_key_owner401The key owner no longer exists.Create a new key from an active account.

Request errors

CodeHTTPMeaningRecovery
invalid_request_body400JSON body is invalid or does not match the schema.Validate request body fields and types.
unsupported_field400Nested or internal fields were sent.Remove input, options, scene, sub_mode_id, provider, media type, and internal media fields.
missing_file400Multipart upload has no file field.Add the file form field.

Model and mode errors

CodeHTTPMeaningRecovery
model_not_found404Model is unavailable.Use a model key from /api/v1/models.
model_not_api_configured422Model has no public API configuration.Pick another API-ready model.
mode_not_supported422Mode does not exist on the selected model.Use operations[].mode from /api/v1/models.
mode_not_api_configured422Mode exists but has no public endpoint.Use another listed operation.
unsupported_input_for_model422Input shape is unsupported.Check the model mode input requirements.
ambiguous_generation_mode422Input matches multiple modes.Pass mode explicitly.
mode_scene_missing422Mode is missing internal scene mapping.Contact support; this is a configuration issue.

File errors

CodeHTTPMeaningRecovery
unsupported_file_type415MIME type is not image, video, or audio.Upload a supported media file.
unsupported_file_format415File format is not allowed for the selected mode.Check the model reference for allowed formats.
file_too_large413File exceeds the size limit.Compress the file or choose a mode with a larger limit.
upload_failed502Storage provider upload failed.Retry or contact support if persistent.
unsupported_upload_target422Configured upload target is unsupported.Contact support; this is a configuration issue.