BoundaryML/baml
Documented errors, page 4 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
-32602 Invalid params | error_code | error | lsp, params, validation, json-rpc |
| Failed to create HTTP client | exception | error | network, http-client, rust, tls |
| No source root contains | error_code | error | lsp, workspace, path, configuration |
| Parse response error | exception | error | llm, parsing, response |
| Unsupported strategy provider | validation | error | configuration, baml, strategy, unsupported |
| Call ID mismatch: != | exception | error | tracing, state, correlation |
| Could not find retry policy with name | exception | error | baml, configuration, retry, not-found |
| Expected a | validation | error | rust, parser, formatting, missing-rule |
| Invalid handle: expected | exception | error | heap, vm, invalid-handle |
| Library already initialized from | exception | error | rust, initialization, singleton, state, native-library |
| profiling store contains an unsupported file type | validation | error | rust, io, filesystem, profiling |
| AbortError | exception | warning | cancellation, streaming, abort |
ErrInitialization baml: initialization failed | error_code | error | initialization, shared-library, error-wrapping |
UnknownMethod BamlImage has no callable attribute | exception | error | jinja, minijinja, baml, template, unknown-method |
| BAML toolchain is not installed. Installed toolchains: Run… | console | error | |
| Internal error | error_code | error | ffi, internal, bridge |
| IO error | exception | error | io, logging, filesystem, write |
| Please set baml-py to version " ". $ pip install $ uv add… | exception | error | python, version-mismatch, import, dependency, pinning |
| Encountered impossible identifier during parsing. | panic | error | parser, rust, panic, identifier, internal-bug |
| Expected message output in response, but is type | exception | error | aws, bedrock, response, unexpected-shape |
| Operation was aborted | exception | warning | abort, streaming, typescript, cancellation |
| interned member ` ` cannot be another member's child | validation | error | proc-macro, compile-time, baml, rust |
| Variable ' ' not found for $watch.notify() | exception | error | interpreter, watch, scope, undefined-variable |
| WASM history boundary | exception | error | wasm, io, history |
| BamlError: BamlClientError: Something went wrong with the… | exception | error | llm, napi, typescript, client-error |
| Complex assignment targets not yet supported | exception | error | baml, interpreter, assignment, unsupported-feature |
| {e} | exception | error | llm, rust, prompt-rendering, orchestration |
| failed to get http request | exception | error | ffi, runtime, binding, http, baml |
| Failed to get template | validation | error | jinja, template, baml, rust |
| Failed to get the current working directory while creating… | exception | error | lsp, workspace, rust, startup |
| No credentials found | exception | error | auth, credentials, cli |
| unexpected type for name: %T | exception | error | go, ffi, type-assertion, collector |
| Expected to encounter a class | exception | error | rust, streaming, deserialization, type-mismatch |
| No collection to consume token | error_code | error | parsing, json, syntax |
| {0} | exception | error | initialization, engine, rust |
| history boundary for project | exception | error | io, invalid-data, history, identity |
| ai.Prompt._data must contain baml_builtins2::PromptAst | panic | error | rust, prompt, type-mismatch, panic |
| BAML_CACHE_SAMPLED_VERIFY: the incremental cache served… | exception | error | cache, diagnostics, incremental-compilation, cache-soundness |
baml.panics.IntegerOverflow integer overflow | error_code | error | vm, arithmetic, overflow, panic, baml |
| failed to get start time | exception | error | go, ffi, timing |
| function ` ` not found. Use `baml run --list` to see… | validation | error | cli, function-not-found, baml-pack |
| two targets share subcommand name | validation | error | cli, naming-conflict, baml-pack |
| unexpected type for collector creation: %T | exception | error | go, baml-runtime, type-assertion, internal |
| value record omitted metadata | validation | error | rust, event-file, protobuf, corruption |
| failed to get logs | exception | error | go, ffi, collector, logging |
| failed to unmarshal FFI response | exception | error | protobuf, ffi, unmarshal |
| instanceof requires class operands at | validation | error | baml, interpreter, instanceof, type-mismatch |
| This build has no PostHog key configured. | error_code | warning | telemetry, posthog, missing-api-key |
| error decoding value, unknown literal type: | panic | error | go, ffi, deserialization, literal-type, baml |
| Failed to load GCP creds project ID (failed to resolve)… | exception | error | gcp, authentication, vertex-ai, credentials |
| LLM client " " failed with status code: \nMessage | http | error | http, llm, api, status-code |
| AWS Bedrock only supports text system blocks, but got | validation | error | aws, bedrock, system-prompt, validation, unsupported |
| BAML toolchain is corrupt: VERSION contains . Run: baml… | console | error | |
| corrupt tail segment in profiling stream | validation | error | rust, io, corruption, profiling |
| failed to get selected | exception | error | go, ffi, baml |
| interface ` ` declares a non-runtime constraint | panic | error | compiler, rust, panic, interfaces, type-lowering |
| split() method only available on strings at | exception | error | baml, type-mismatch, string-method, runtime |
| unexpected type for null type: %T | exception | error | go, type-builder, internal-invariant, ffi |
| variant ` ` requires an explicit discriminant to stabilize… | validation | error | proc-macro, compile-time, serialization, borsh, rust |
| builtin function baml.fetch_value is not supported in… | exception | error | interpreter, builtin, unsupported |
| Cancelled | exception | warning | llm, cancellation, timeout, test-runner |
| Failed to gather files from directory | error_code | error | rust, language-server, filesystem, directory |
| failed to install into | exception | error | filesystem, install, permissions |
| Failed to parse JSON response | exception | error | json, github-api, parsing, rust |
| No optimization runs found. Run 'baml-cli optimize'… | exception | error | cli, optimize, filesystem |
| assertion failed | exception | error | baml, assertion, runtime, validation |
| baml.fetch_as expects 1 type argument, got | validation | error | baml, type-arguments, builtin-function, interpreter |
| ` ` is declared by the stdlib | panic | error | rust, stdlib, json, panic |
| `baml update` is ambiguous. To use the latest version of… | exception | error | cli, ambiguous-command, update, usage |
| {err} | console | error | network, install, toolchain |
| {}: {error} | exception | error | wasm, vfs, io, encoding |
| HeapPtr is a runtime-only pointer and must not be serialized | exception | critical | borsh, serialization, heap-pointer, invariant |
| Package.current call site names a loaded package | panic | error | rust, vm, packages, invariant |
-32603 Internal error | error_code | critical | lsp, bug, panic, internal-error |
| error decoding value, type alias not found: | panic | error | go, ffi, deserialization, type-alias, baml |
| Invalid client property. Should have been a vertex property… | validation | error | vertex-ai, configuration, schema |
| span.start is too large | panic | error | rust, lexer, spans, value-out-of-range, panic |
| Unexpected additional element at | exception | error | parser, ast, syntax, formatter |
| blob size mismatch for | validation | error | rust, blob-storage, integrity, checksum |
| Could not unify String with | exception | error | baml, unification, type-mismatch |
| Invalid InboundValue.value_type: a root union or optional… | error_code | error | protobuf, union, decoding, ffi |
| no runnable target ` ` found. use `baml run --list` to see… | exception | error | cli, command-line, target-not-found, baml |
| pythonize_checks | panic | critical | rust, pyo3, panic, checks |
| Request timed out after | exception | error | timeout, network, baml, tracing |
-32801 Content modified | error_code | info | lsp, concurrency, document-sync, stale-state |
| Already used span | exception | error | rust, napi, span, tracing, double-finish |
| blob digest mismatch for | validation | error | rust, blob-storage, integrity, checksum |
| Class not found | exception | error | rust, schema, class, lookup-failed |
| Enum not found for variant | exception | error | internal, vm, enum |
| failed to create engine | exception | error | cli, engine, runtime, testing, baml |
| failed to unmarshal InvocationResponse | exception | error | go, protobuf, ffi, callback |
| field assignment on non-map/class | exception | error | baml, interpreter, assignment, type-mismatch |
| OpenAI transcriptions do not support reserved request field | validation | error | openai, transcription, config, reserved-fields, baml |
| profiling usage ledger checksum mismatch | validation | error | rust, io, checksum, corruption, profiling |
| run completed record omitted status | validation | error | protobuf, enum, deserialization |
| unexpected type for enum value builders: %T | exception | error | go, type-assertion, baml-runtime, version-mismatch |
| continue statement not in loop context | exception | error | baml, control-flow, continue, loops |
| Could not find Cargo.toml | panic | critical | cli, rust, file-not-found |
| dependency name ` ` is reserved | exception | error | rust, database, naming, reserved-identifier, validation |
| expected size-gate reports from run , found | exception | error | ci, artifacts, github-actions, size-gate |