BoundaryML/baml
Documented errors, page 2 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| No upload metadata provided when should_upload is true | exception | error | baml, tracing, upload, unexpected-response |
| diagnostic message style code is a valid Unicode variation… | panic | warning | rust, unicode, encoding, invariant |
| Function ` ` is not invokable as an entry point (kind: ) | exception | error | engine, entry-point, vm, rust |
| Invalid client property. Should have been a round-robin… | validation | error | configuration, baml, strategy, round-robin |
| active BAML toolchain does not include… | exception | error | cli, vscode, toolchain, asset-missing |
| undefined variable | panic | error | compiler, codegen, panic, undefined-variable |
| {s:?} | validation | error | baml, streaming, partial-parsing, schema-mismatch |
| Execution Node out of bounds (raw curl) | exception | error | index-out-of-bounds, raw-curl, orchestrator, rust |
| Failed to determine cache directory | exception | error | rust, cache-directory, environment, native-library |
| Non-regular recursive generic class | exception | error | baml, schema, generics, recursion |
| compilation failed | exception | error | cli, compilation, codegen, baml-pack |
| missing block address for jump target | panic | critical | compiler, bytecode, panic, control-flow |
| not implemented | panic | critical | panic, not-implemented, llm, prompt |
baml.panics.HostContractViolation host contract violation | error_code | error | host-boundary, ffi, contract-violation, type-mismatch, catchable |
| dynamic-impl table lock poisoned | panic | error | rust, concurrency, mutex-poisoned, vm |
| failed to unmarshal content bytes | exception | error | go, ffi, protobuf, unmarshal |
| : toolchain / format ; this runtime: / format | exception | error | artifact, version-mismatch, compatibility, code-generation |
| BAML Generate failed - Project has errors. | error_code | error | rust, language-server, baml, runtime, project-errors |
| Blob flush timed out after | exception | error | timeout, async, baml, tracing |
| missing trap PC for dead-unreachable jump target | panic | critical | compiler, bytecode, panic, control-flow |
| Serializing CompletionState is safe. | panic | critical | ruby, panic, serialization, streaming |
| unexpected type for timing: %T | error_code | error | go, ffi, type-mismatch, baml |
| {diagnostics} | validation | error | baml, syntax-error, parser, type-builder |
| Invalid type value | panic | error | parser, rust, panic, types, enum |
| not yet implemented | panic | error | aws, bedrock, multimodal, unimplemented, panic |
| unexpected type for http response: %T | exception | error | type-assertion, ffi, binding, baml |
| unsupported map key type | validation | error | go, serialization, ffi, unsupported-type |
| BAML_CACHE_VERIFY: cached diagnostics for | exception | error | cache, stale-data, diagnostics, verification |
| baml.errors.Context.stack_trace: expected Instance | panic | critical | baml-vm, panic, cause-chain, invariant-violation, stack-trace |
| duplicate compilation unit for | exception | error | cache, internal, compiler |
| Finish reason not allowed | exception | error | llm, finish-reason, truncation, max-tokens |
| enum offset fits u32 | panic | error | compiler, overflow, panic, rust |
| Expected token/node of kind | exception | error | parser, ast, syntax, formatter |
| Failed before LLM call (user error) | exception | error | baml, user-error, pre-call-failure, error-handling |
| failed to get http response | exception | error | ffi, runtime, binding, http, baml |
| No upload URL provided when should_upload is true | exception | error | baml, tracing, upload, unexpected-response |
| toolchain path points at the baml wrapper itself | validation | error | |
| manifest schema not supported (max ); run `baml self-update | exception | error | versioning, schema, upgrade |
| value metadata omitted codec | validation | error | rust, protobuf, deserialization, enum |
| Encountered impossible class constructor during parsing | panic | error | parser, rust, panic, grammar, internal-bug |
| Media types cannot be default-constructed; they require a… | panic | error | rust, panic, default, media |
| No call_id found. This indicates a bug in BAML. Please… | exception | error | baml, internal-state, call-context, runtime |
| UnscheduledFuture cannot be serialized | exception | error | rust, serialization, borsh, fail-fast-invariant |
| Cannot convert to owned | exception | error | rust, heap, ownership, lifetime |
| Cannot generate HIR/bytecode due to validation errors | exception | error | baml, validation, cli, schema |
| baml.toml [toolchain] selects channel | validation | error | |
| test selector ` ` uses the old `/` hierarchy separator; use… | validation | error | cli, testing, selector, deprecated-syntax, baml |
| BAML internal error (openai-responses): Local PDF files are… | exception | error | openai, responses-api, pdf, local-file, rust |
| int.ilog: invariants self > 0 && base >= 2 already enforced | panic | error | rust, internal-invariant, math, panic |
| Invalid client property. Should have been a aws-bedrock… | validation | error | aws, bedrock, config, client, internal |
| LLM call failed | exception | error | baml, llm-provider, request-failed, error-handling |
| field access must be on classes, but expr | panic | error | compiler, codegen, panic, field-access, types |
| Project has errors. | error_code | error | rust, baml, codegen, project-errors |
| Dependency: not found | exception | error | baml, ir, dependency-not-found, build |
| Encountered impossible jinja expression during parsing | panic | error | parser, rust, panic, jinja, internal-bug |
| expected jump instruction at index | panic | critical | compiler, bytecode, panic, rust |
| Expected message output to contain at least one text block… | exception | error | aws, bedrock, response, tool-use, text |
| Failed to fetch media bytes | exception | error | network, http, baml |
| failed to marshal object constructor arguments | exception | error | protobuf, serialization, cffi, arguments |
| the BAML agent skill is required but is not installed; run… | exception | error | cli, agent, skill, setup, baml |
| toUpperCase() method only available on strings at | exception | error | baml, interpreter, string-methods, type-mismatch |
baml.panics.Exit baml.sys.exit( ) | error_code | warning | vm, exit, process, panic, baml |
| {} | exception | error | llm, internal-failure, network, test-runner |
| Parsing failed due to | exception | error | json, streaming, parsing, rust |
| value record mixed run_started with run_completed lifecycle… | validation | error | rust, event-file, protobuf, corruption |
| Enum does not exist | validation | error | baml, schema, enum, missing-definition |
| failed to get log type | exception | error | go, ffi, wrapped-error, baml |
| compiled output has no unit for | exception | error | cache, internal, consistency |
| Expected a statically defined string, not expression | validation | error | rust, baml, jinja, template, static-analysis |
| BAML internal error (AWSBedrock): file should have been… | exception | error | aws-bedrock, media, internal-error, base64, rust |
| Cannot convert media types to JSON | exception | error | json, media, unsupported, optimizer |
| Encountered impossible type_expression declaration during… | panic | error | parser, rust, panic, grammar, internal-bug |
| unknown run-verb flag | validation | error | cli, argument-parsing, baml |
| body record omitted log metadata | validation | error | rust, protobuf, deserialization, corrupt-data |
| no-color diagnostics do not invoke the message highlighter | panic | info | rust, rendering, diagnostics, invariant |
| split_interface matched an interface | panic | error | compiler, rust, panic, impl-blocks, interfaces |
| unexpected type for body: %T | error_code | error | go, type-assertion, ffi, baml |
| unsupported types for < operator at | validation | error | baml, interpreter, comparison, type-error |
| error: no BAML toolchain is installed. Run: baml toolchain… | console | error | |
| generic arity fits u32 | panic | error | compiler, rust, panic, generics, integer-overflow |
| Recursion depth exceeded for | error_code | error | sap, baml, recursion, type-alias, depth-limit |
| assign to undeclared variable | exception | error | baml, interpreter, assignment, undeclared-variable |
-32002 Server not initialized | error_code | error | lsp, initialization, lifecycle, json-rpc |
| (test constraints internal error) | exception | error | testing, constraints, internal-error, rust |
| Failed before LLM call | exception | error | llm, rust, prompt-rendering, internal-failure |
| failed to call destructor | exception | warning | go, ffi, destructor, garbage-collection |
| failed to exec | console | critical | exec, process, unix, toolchain |
| Field/Index stores are handled in emit_statement, not… | panic | error | |
| endsWith() method only available on strings at | exception | error | baml, type-mismatch, string-method, runtime |
| invalid symbol name | exception | error | windows, dynamic-linking, string-validation |
| Request options | exception | error | llm, http-error, api-error-response, test-runner |
| unexpected type for client name: %T | error_code | error | type-assertion, ffi, binding, baml |
| Configuration error | exception | error | rust, logging, configuration, baml |
| unsupported atom | panic | error | compiler, codegen, panic, unsupported-value |
| Unsupported strategy provider | validation | error | configuration, baml, strategy, unsupported |
| unsupported types for %= operator | exception | error | baml, interpreter, arithmetic, type-mismatch |
| failed to generate Go SDK | exception | error | go, codegen, cli |
| OpenAI transcriptions require chat messages with exactly… | validation | error | openai, transcription, audio, baml |
| unsupported statement type in C-for after clause | exception | error | baml, interpreter, loops, unsupported-statement |
BadSerialization type ' ' is not supported in outputs | exception | error | baml, types, media, output-schema |