BoundaryML/baml
Documented errors, page 3 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| cannot convert value | exception | error | baml, enum, variant |
| Environment variable | exception | error | interpreter, undefined-variable, scope |
| failed to get provider | error_code | error | ffi, runtime, binding, baml |
| network error fetching | exception | error | network, http, rust, reqwest |
| toolchain path is a directory | validation | error | cli, toolchain, path |
| target not built for wrapper | exception | error | manifest, wrapper, target-triple, not-found |
| Failed to fetch media | exception | error | http, network, baml |
| Guaranteed by the grammar | panic | error | parser, rust, panic, grammar, internal-bug |
| realized union-member template failed to substitute | panic | error | rust, generics, serialization, panic |
| active toolchain is a local path and has no version | validation | error | |
| cannot assign function to variable | exception | error | interpreter, functions, assignment, unsupported-feature |
| Failed to coerce value | exception | error | type-coercion, json, schema |
| No tests found for function | exception | error | baml, testing, optimizer, not-found |
| engine is not current with the latest sources; wait for the… | error_code | warning | lsp, rust, stale-build, engine |
| no `.baml` files found in | validation | error | cli, baml, playground, empty-project |
| unexpected type for usage: %T | exception | error | go, ffi, type-assertion, collector |
| VM internal error | exception | critical | vm, internal-error, rust |
| WASM history boundary | exception | error | wasm, io, lifecycle |
-32800 Request canceled | error_code | info | lsp, cancellation, json-rpc, async |
CannotUnpack Media variable had unrecognizable data | exception | error | jinja, media, deserialization, rust |
| __class_getitem__ | panic | error | python, ffi, internal |
| Failed to auth - system_default strategy did not resolve… | exception | critical | gcp, vertex-ai, authentication, credentials |
| right operand of && must be bool at | validation | error | baml, type-mismatch, interpreter, logical-operator |
| run started record omitted target | validation | error | protobuf, deserialization, missing-field |
| Strategy client providers are not supported yet in… | panic | error | rust, baml, unsupported-feature, strategy-provider |
| unexpected type for start time: %T | exception | error | go, ffi, type-mismatch, timing |
| make_closure: lambda_idx | panic | critical | compiler, closures, bytecode, panic |
| OpenAI transcription field | validation | error | config, openai, transcription, type-mismatch |
| [toolchain] pins version , but it isn't… | validation | error | |
| unexpected type for string type: %T | exception | error | go, ffi, type-builder, type-mismatch |
| Failed to deserialize response | exception | error | json, serialization, baml, tracing |
| Invalid decimal bigint literal | error_code | error | decimal, bigint, validation, ffi |
| Unexpected prefix operator | panic | error | parser, panic, unary-operator, rust |
| ` ` doesn't look like it belongs to a BAML project — no… | validation | error | rust, cli, playground, project-root, filesystem |
| object constructor returned nil pointer | exception | critical | cffi, native-runtime, null-pointer, invariant-violation |
| rendering without a message highlighter cannot fail… | panic | info | rust, rendering, diagnostics, invariant |
| system clock is set before the UNIX epoch | panic | error | wasm, time, clock |
| timed out waiting for install lock | exception | error | lock, timeout, concurrency, install |
| exception table: handler block | panic | critical | compiler, exception-handling, bytecode, panic |
| failed to get timing | error_code | error | go, ffi, wrapped-error, baml |
| invalid sha256 blob digest length | validation | error | rust, validation, blob-storage, checksum |
| options.project_id is required when using API key auth with… | validation | error | vertex-ai, gcp, configuration, api-key |
| Package.classes only contains class pointers | panic | error | rust, vm, gc, invariant, reflection |
| parse_named_args_list:, none for name of field/missing type | panic | error | parser, rust, panic, named-args, internal-bug |
| %s | exception | error | ffi, runtime-error, error-passthrough |
| Update to @boundaryml/baml required. Version from… | exception | error | version-mismatch, typescript, codegen, dependency |
| zip archive error | exception | error | zip, archive, download, self-update |
| Arrow types are not supported in CFFI | panic | error | cffi, unsupported-type, schema |
| AWS region expected, please set: env. | exception | error | aws, region, env-var, config, bedrock |
| break statement not in loop context | exception | error | baml, control-flow, break, loops |
| HTTP error | exception | error | http, api, baml, tracing |
| No functions with tests found to optimize | exception | error | optimizer, empty-result-set, rust, configuration |
| `--sdk-import-path` is only valid for the Go generator | validation | error | cli, flags, conflicting-options |
| encoding field | exception | error | go, serialization, ffi, error-wrapping |
| error decoding value, unknown field type: | panic | error | go, ffi, deserialization, version-mismatch, baml |
| honest interface fragment for | exception | error | cache, serialization, rust, compiler |
| BAML internal error (openai-responses): audio must be… | exception | error | openai, responses-api, audio, base64, rust |
ErrLoadLibrary baml: failed loading shared library | error_code | critical | shared-library, initialization, platform |
| GitHub API request failed with status | exception | error | http, github-api, http-status, rust |
| type head carries a non-head tag | exception | error | borsh, deserialization, type-tag, corruption |
| function ` ` not found | exception | error | cli, not-found, function, baml |
InternalError did_change err | exception | error | lsp, diagnostics, notification, baml |
| Invalid client property. Should have been a google-ai… | validation | error | google-ai, client-config, provider, config-mismatch |
| LLM client error | exception | error | baml, llm-client, network, api |
| Please upgrade baml-py to the latest version. $ pip install… | exception | error | python, version-mismatch, import, dependency |
| Union selected type ` ` is not a member of declared union | error_code | error | union, schema, decoding, ffi |
| value record mixed body metadata with lifecycle metadata | validation | error | rust, event-file, protobuf, corruption |
| {0:?} | exception | error | parser, formatter, syntax, baml |
| BamlSerde cannot be derived for enums, use… | validation | error | rust, derive-macro, serde, enum, compile-time |
| class field count fits u32 | panic | error | compiler, rust, panic, classes, integer-overflow |
| colored diagnostics have a source highlighter | panic | error | rust, rendering, color, missing-argument |
| Expected token/node , but found at | exception | error | parser, ast, syntax, formatter |
| Field access on non-class type | panic | error | compiler, codegen, panic |
| GetProcAddress failed for | exception | critical | windows, dynamic-linking, version-mismatch, dll |
| Package.enums only contains enum pointers | panic | error | rust, vm, gc, invariant, reflection |
| BAML internal error (openai-responses): content part must… | exception | error | openai, responses-api, internal-bug, json-shape |
| Failed to recv cred response across WASM bridge | exception | error | wasm, aws-credentials, channel, async, rust |
| JS callback error | exception | error | wasm, javascript, credentials, aws, gcp |
| unexpected type for mime type: %T | exception | error | go, ffi, type-mismatch, baml |
| Unification error | exception | error | rust, type-mismatch, baml, unification |
| cannot determine directory of current executable | exception | error | rust, cli, filesystem, executable-path |
| nil response | exception | error | go, ffi, decoding |
| Path is invalid | error_code | error | lsp, path, uri, validation |
| Playground server requires either BAML_PLAYGROUND_DEV_PORT… | exception | error | rust, lsp, configuration, missing-env-var |
| undefined enum | panic | error | compiler, codegen, panic, enum, globals |
| Checksum mismatch: expected | exception | critical | rust, checksum, security, download, native-library |
| failed to get duration | exception | error | go, ffi, timing |
| Invalid client property. Should have been a openai property… | validation | error | openai, config, internal, baml |
| Key is missing | validation | error | ffi, decode, protobuf, rust |
| profiling store contains a symlink | validation | error | rust, io, filesystem, security, symlink |
| baml.json.serialize returned non-string value | exception | error | serialization, type-mismatch, runtime, baml |
| Could not unify Float with | validation | error | rust, type-system, baml, type-mismatch |
| {e:?} | exception | error | ruby, ffi, serialization, http-headers |
| Expression functions must have return type. | validation | error | baml, types, function, schema |
| no runnable target ` ` found. Did you mean one of | exception | error | cli, command-line, target-not-found, typo, baml |
| undefined field: . | panic | error | rust, compiler, codegen, panic |
| Failed to resolve expression | validation | error | environment, expression-resolution, config, rust |
| generic media cannot inhabit a concrete prompt part | panic | error | vm-panic, invariant, media, prompt |
| no released BAML artifact is available for | exception | error | platform, target-triple, unsupported-platform, self-update |
| unexpected type for class property type: %T | exception | error | go, ffi, type-assertion, baml |