BoundaryML/baml
Documented errors, page 10 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| dependency ` ` would form a dependency cycle | exception | error | dependency-management, rust, circular-dependency |
| division by zero at | validation | error | runtime, arithmetic, division-by-zero, interpreter |
ErrCacheDir baml: failed to determine or create cache directory | error_code | error | filesystem, cache, permissions |
| error decoding value | panic | critical | go, panic, decoding, types |
ErrVersionMismatch baml: library version mismatch | error_code | error | versioning, shared-library, initialization |
| Internal Failure: . This should not happen - please report… | exception | critical | internal, bug, baml-runtime |
| Invalid provider | exception | error | ruby, client-registry, provider, validation |
| Map.get_or_insert: should be dispatched via… | panic | error | rust, map, dispatch, panic |
| Notification not supported | exception | warning | lsp, unsupported-method, rust |
| Schema inconsistency | exception | error | schema, invariant, baml |
| StackFrame: expected Instance | panic | error | vm-panic, invariant, stack-trace, error-handling |
| Type error | exception | error | repl, type-checking, baml |
| Unknown type alias | error_code | error | sap, baml, undefined-reference, type-alias |
| Cannot import from '@boundaryml/baml' in browser… | exception | error | typescript, browser, import, environment |
| Enum with name already exists. | validation | error | python, type-builder, duplicate-name, namespace-collision |
| Failed to stream function | exception | error | ffi, rust, streaming, runtime |
| No response | exception | error | testing, llm, no-response |
| pack fixture not found at | exception | error | file-not-found, fixture, config, size-gate |
| BAML internal error (openai): image file should have been… | exception | error | openai, image, media-resolution, internal-state |
| Failed to compute relative path from | exception | error | cli, filesystem, path-resolution |
| Failed to download asset | exception | error | network, rust, download, http |
| Failed to get text from HTTP body | exception | error | ruby, ffi, http-body |
| Failed to parse LLM response | exception | error | ruby, ffi, llm-response, parsing |
| getattr(Checked) | panic | critical | rust, pyo3, panic, checked-class |
| Invalid weight format | exception | error | cli, argument-parsing, format, optimizer |
| JSON serialization error | exception | error | json, serialization, playground, rust, serde |
| length() method not available on type | exception | error | baml, method-call, type-mismatch, length |
| missing required argument | validation | error | cli, missing-argument, json, baml |
| no completed ` ` runs found on branch ` ` in repo | exception | error | ci, github-actions, size-gate, empty-result |
| ` ` not found. | exception | error | baml, ir, not-found, macro |
| readFileRef did not return a promise | exception | error | wasm, javascript, file-read, async |
| bitwise ^= requires integer operands | exception | error | baml, interpreter, bitwise, type-mismatch |
| bitwise | requires integer operands at | validation | error | baml, type-mismatch, interpreter, bitwise-operator |
| feedback field " " must be a string | validation | error | cli, validation, json, type-mismatch |
| Field not found: expected | exception | error | heap, field-access, vm |
| I/O error | exception | error | io, filesystem, stdlib, baml |
| package ' ' not found in cargo metadata | exception | error | rust, cargo, config |
| parse error | exception | error | parse, stdlib, format, baml |
| Template string ' ' expects arguments, but were provided | validation | error | rust, baml, template-string, arguments |
| trace call process id must be 16 bytes, got | validation | error | rust, protobuf, deserialization, identifier |
| Workspace URL is not a file or directory | exception | error | lsp, workspace, url, rust |
| Audio is not a URL | exception | error | audio, media, base64, url |
| baml.fetch_as: HTTP request failed: HTTP | http | error | http, network, fetch |
| Cannot convert object of type | exception | error | conversion, type-mismatch, interop |
| Could not unify Media with | validation | error | rust, type-system, baml, media |
| Enum does not have a value | validation | error | baml, schema, enum-value, missing-definition |
| Failed to initialize BAML runtime | exception | error | initialization, configuration, baml, ruby |
| Invalid operator or value type combination | panic | error | rpc, filter, panic, internal |
| unsupported types for /= operator | exception | error | runtime, type-error, assignment, arithmetic |
| arity mismatch: expected | exception | error | interpreter, arity, function-call |
| destructor returned unexpected result | exception | warning | go, ffi, destructor, protocol |
| endsWith() argument must be a string at | exception | error | baml, argument-type, string-method, type-mismatch |
| failed to get body | error_code | error | go, ffi, baml, method-call |
| Future with ID not found | exception | error | engine, async, futures, rust |
| Invalid BAML_PLAYGROUND_DEV_PORT | exception | error | rust, configuration, env-var, port |
| Operation cancelled.. | exception | warning | rust, cancellation, async, tokio |
| stream is not a boolean | validation | error | ffi, rust, type-mismatch, boolean |
| args must be a map | exception | error | api, argument-validation, rust, prompt-rendering |
| Base64 decode error | exception | error | wasm, base64, jwt, decoding |
| failed to get selected call | error_code | error | go, rpc, error-wrapping, llm |
| Map.delete: should be dispatched via __glue_delete | panic | error | rust, map, dispatch, panic |
| ! operator requires boolean operand at | validation | error | baml, interpreter, unary-operator, boolean |
| Pdf is not a URL | exception | error | pdf, media, base64, url |
| replace() replacement argument must be a string at | exception | error | runtime, type-mismatch, arguments, strings |
-32803 LSP outbound sink is saturated | error_code | warning | lsp, backpressure, transport, rust |
| BAML internal error (AWSBedrock): video file should have… | exception | error | aws-bedrock, video, media, internal-error, base64 |
baml.panics.HostUnavailable host resource ' ' unavailable | error_code | error | host-resource, entropy, sandbox, runtime, catchable |
| call_id must be a nonzero uint64 | exception | error | ffi, validation, identifier |
| encoding env vars | exception | error | go, serialization, ffi, env-vars |
| error while parsing call_function args | exception | error | ruby, client-registry, json, arguments |
| Failed to decode Value | validation | error | ffi, decoding, rust, protobuf |
| left operand of && must be bool at | validation | error | baml, type-mismatch, interpreter, logical-operator |
| network error fetching checksum | error_code | error | network, http, checksum, dns |
| readFileRef rejected | exception | error | wasm, javascript, promise, file-read |
| array assignment on non-list value at | exception | error | baml, interpreter, assignment, type-mismatch |
baml.panics.AssertionFailed assertion failed | error_code | error | vm, assertion, panic, baml |
| Filter function ' ' must take exactly 1 parameter (current… | exception | error | interpreter, watch, filter, arity, validation |
| Future cannot be serialized | exception | critical | borsh, serialization, future, async, invariant |
| Future short-circuited above | panic | error | vm-panic, invariant, deep-copy, future |
| No asset named ' ' in release | exception | error | github-api, release-assets, version-mismatch, rust |
baml.panics.IndexOutOfBounds index out of bounds: of | error_code | error | vm, array, subscript, panic, baml |
| encoding type builder | exception | error | go, serialization, ffi, type-builder |
| Expected a null value | validation | error | rust, baml, type-mismatch, null |
| artifact is truncated | exception | error | artifact, serialization, truncated-data, integrity |
| OpenAI transcription prompt is ambiguous: both… | validation | error | openai, transcription, config, baml |
| SAP error | exception | error | llm, deserialization, coercion, sap |
| substring() end argument must be an int at | exception | error | baml, argument-type, substring, index |
| Unknown objective: ' '. Valid objectives: accuracy, tokens… | exception | error | cli, invalid-enum-value, objective, optimizer |
| Could not unify map with | validation | error | rust, type-system, baml, map-type |
| Enum value not found | exception | error | type-builder, baml, rust, enum-value-lookup |
| ExposedError::ClientHttpError | exception | error | http, llm, api-error |
| Not implemented | exception | error | ffi, unimplemented, compatibility |
| Request not supported | exception | warning | lsp, unsupported-method, rust |
| unknown axis | validation | error | proc-macro, rust, compile-time |
baml.panics.InvalidFieldAccess invalid field access: field | error_code | error | vm, record, field-access, panic, baml |
baml.panics.MapKeyNotFound key not found in map | error_code | error | vm, map, lookup, panic, baml |
| destination ` ` already exists. Use `baml init` to… | validation | error | cli, scaffold, directory-exists, already-exists |
| division by zero in /= operator | exception | error | runtime, arithmetic, division-by-zero, interpreter |
| error while calling | exception | error | llm, runtime, baml, ruby |
| : `[dependencies]` is not supported in a project manifest… | validation | error | toml, manifest, unsupported-feature, config |