BoundaryML/baml
Documented errors, page 8 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| cannot install the stdlib source root for | panic | critical | panic, stdlib, rust, initialization-order |
| encoding map value | exception | error | go, map, serialization, baml |
| Expected a boolean | validation | error | rust, baml, type-mismatch, boolean |
| for loop requires iterable (list) | exception | error | runtime, type-error, for-loop, interpreter |
| history boundary was not begun | error_code | error | io, not-found, state, history |
| missing required argument | validation | error | cli, missing-argument, baml |
| no baml.toml found from | validation | error | cli, toolchain, manifest, project |
| PyTuple::new | panic | critical | rust, pyo3, panic, tuple-conversion |
| dependency ` ` is declared twice | exception | error | dependency-management, rust, duplicate-key |
ErrNotSupportedPlatform baml: platform not supported (only Linux and MacOS amd64/arm64) | error_code | error | platform, architecture, unsupported |
| Expected a map | validation | error | rust, baml, type-mismatch, config |
| Expected token/node , but was unable to find it in | exception | error | parser, ast, syntax, formatter |
| invalid StreamStateType | exception | error | go, json, enum, marshaling |
| no BAML project found; run `baml init` before adding a… | validation | error | cli, project-setup, not-found |
| No download URL for checksum asset | exception | error | github-api, json, unexpected-response, rust |
| span.end is too large | panic | error | rust, lexer, spans, value-out-of-range, panic |
| When using 'openai-generic', you must specify a base_url | validation | error | openai, config, base-url, baml |
| BAML internal error (openai-responses): video is not yet… | exception | error | openai, responses-api, video, unsupported-media |
| BAML internal error (openai-transcriptions): multipart body… | exception | error | openai, transcriptions, multipart, not-implemented |
| Could not unify Bool with | validation | error | rust, type-system, baml, type-mismatch |
| Expected token/node of kind | exception | error | parser, ast, syntax, formatter |
| instanceof requires a class name on the right side at | exception | error | interpreter, instanceof, syntax |
| write!() to `String` should never fail | panic | info | rust, panic, unreachable, hex-encoding |
| BAML internal error (Anthropic): file should have been… | exception | error | anthropic, media, internal-error |
| encoding function arguments | exception | error | go, serialization, ffi, arguments |
| Expected a numeric value | validation | error | rust, baml, type-mismatch, numeric |
| failed to get text | exception | error | go, ffi, baml, streaming, sse |
| field access on non-map/class at | exception | error | interpreter, field-access, type-mismatch |
| Function call with ID | exception | error | engine, lookup, lifecycle, rust |
| No checksum asset named | exception | error | github-api, checksum, release-assets, rust |
| unexpected type in logs: %T | exception | error | go, ffi, type-mismatch, collector |
| Unsupported object type for testing | exception | error | vm, unsupported, conversion |
| BamlSerde cannot be derived for structs, use… | validation | error | rust, derive-macro, serde, compile-time |
| Failed to parse config from environment variables: BOUNDARY_ | exception | error | environment, config, parsing, tracing |
| Failed to parse function result | exception | error | repl, baml, llm-output, parsing |
| invalid Go SDK import path | validation | error | cli, go, validation |
| --json-args must be a JSON object, got | validation | error | cli, json, arguments, baml |
| - operator requires numeric operand at | validation | error | baml, interpreter, unary-operator, numeric |
| self-update is disabled in this build. Update BAML with… | console | error | cli, self-update, feature-flag |
| Failed to load BAML library from | exception | critical | rust, ffi, library-loading, dynamic-linking |
| Failed to render doc | exception | error | rust, formatting, pretty-printer, internal |
| unexpected cffi.isCFFIFieldTypeLiteral_Literal: %#v | panic | critical | go, panic, types, enum |
| unexpected type for headers: %T | error_code | error | go, type-assertion, ffi, baml |
| unsupported type for BAML encoding: %T | validation | error | go, serialization, baml, type-restriction |
| value record mixed capture loss metadata with body metadata | validation | error | rust, event-file, protobuf, corruption |
| Checksum file did not contain an entry for | exception | error | checksum, release, not-found, verification |
ErrChecksumMismatch baml: downloaded library checksum mismatch | error_code | error | security, download, checksum |
| failed to get ID | exception | error | go, ffi, function-log, lifecycle |
| HTTP body is not UTF-8 | validation | warning | http, encoding, utf-8 |
| invalid package interface | exception | error | serialization, rust, borsh, precompiled-artifact |
| No parsed result available from function call | exception | error | repl, baml, llm-output, missing-result |
| unexpected type for literal bool type: %T | exception | error | go, type-builder, literal-type, internal-invariant |
| Value is null for key | validation | error | ffi, decode, protobuf, rust |
| Mismatched brackets | exception | error | json, syntax, brackets, parsing |
| ObjectValue is not yet supported: | panic | error | go, ffi, deserialization, unsupported, baml |
| Operation cancelled | exception | warning | llm, rust, cancellation, async |
| push() can only be called on a variable at | exception | error | runtime, arrays, mutation, interpreter |
| Type not found for property | exception | error | type-builder, baml, rust, missing-type |
| .bamlvalue header boundary id must be 16 bytes, got | exception | error | io, invalid-data, format, history |
| Could not find an available port in range | exception | error | rust, network, port-exhaustion, tcp |
| Error occurred while rendering prompt | exception | error | jinja, template-rendering, error-wrapper, rust |
| Failed to download checksum file | exception | error | network, rust, checksum, download |
| log event omitted call | validation | error | rust, protobuf, deserialization, missing-field |
| is a local path; there is nothing to install. Run: baml… | validation | error | cli, toolchain, install |
SyntaxError Invalid value for prefix (expected string | null) | error_code | error | jinja, baml, type-mismatch, template |
| text is not a string | validation | error | ffi, rust, type-mismatch, parse |
| variant ` ` has more than one `#[axis(..)] | validation | error | proc-macro, compile-time, attributes, rust |
| expected value, found function | validation | error | runtime, functions, interpreter, type-check |
| Failed to download extension | exception | error | network, curl, download, vscode |
| Insufficient permissions to perform this operation | exception | error | permissions, type-builder, read-only, rust |
| LSP client sent exit before completing shutdown | exception | error | lsp, rust, lifecycle, stdio |
| unexpected type for literal int type: %T | exception | error | go, type-builder, literal-type, internal-invariant |
| BAML internal error (google-ai): file should have been… | exception | error | google-ai, media, internal-error, base64 |
| BAML_PROFILE_DIR points at | console | warning | cli, env-var, profiling, cleanup |
| CSRF state mismatch | exception | error | oauth, security, csrf, cli |
| Expression functions must have a return type | validation | error | baml, types, function, schema |
| failed to exec baml-cli | console | critical | exec, process, unix, installation |
| failed to read value segment | exception | error | io, file-read, history, filesystem |
| instanceof requires a class instance on the left side at | exception | error | runtime, type-check, interpreter, instanceof |
| ` ` is not a file. | validation | error | cli, baml, file, wrong-type |
| method calls must be identifiers | panic | error | compiler, codegen, panic, method-call |
| one response reservation must fit in the outbound byte… | validation | error | lsp, rust, validation, limits |
| OpenAI transcriptions only support audio media parts | validation | error | openai, transcription, media, baml |
| type arguments are not supported when invoking a BAML… | exception | error | ffi, generics, unsupported |
| unknown run error class | validation | error | enum, string-mapping, schema-drift |
| Video is not base64 | exception | error | typescript, video, multimodal, base64, content-type |
| attempted to read a property that has no defined type, this… | exception | error | rust, napi, type-builder, internal-bug, property |
| Cannot stream expr function through this code path | exception | error | rust, unsupported-operation, streaming, expr-function |
| failed to create base http client | exception | error | http-client, reqwest, proxy, aws, init |
| ` ` has no baml.toml; run `baml init` before adding a… | validation | error | cli, config-file, not-found |
| method name must be an identifier at | exception | error | runtime, method-call, interpreter, syntax |
| OpenAI transcription response_format | validation | error | config, openai, transcription, unsupported-value |
| Could not unify Int with | validation | error | baml, unification, type-mismatch |
| failed to get as url | exception | error | go, ffi, baml, media, url |
| No valid generator versions found | error_code | error | versioning, config, baml, generators |
| test profile ` ` is not defined in (available: ) | exception | error | cli, config, baml, profile-not-found |
| unexpected type for as_url: %T | exception | error | go, ffi, type-mismatch, baml |
| unexpected type for tags: %T | error_code | error | go, type-assertion, map, llm |
| unsupported types for <= operator at | validation | error | baml, interpreter, comparison, type-error |
| Audio is not base64 | exception | error | typescript, audio, media, state-error |