BoundaryML/baml
Documented errors, page 9 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| BamlImage has no callable attribute | exception | error | jinja, templates, rust |
| both Cursor and VS Code CLIs were found; rerun with… | exception | error | cli, ide, ambiguous |
| encoding list | exception | error | go, serialization, list, baml |
| internal error: cannot convert value | exception | error | baml, internal, bug |
| No events in the chain | exception | error | rust, validation, orchestration |
| substring() method only available on strings at | exception | error | baml, type-mismatch, string-method, runtime |
| unexpected type for int type: %T | exception | error | go, ffi, type-builder, type-mismatch |
| BAML internal error (openai): audio file should have been… | exception | error | openai, audio, media-resolution, internal-state |
| Could not determine mime type for PDF input. Only… | validation | error | media, mime-type, pdf, baml |
| could not find packaged playground assets. For local… | exception | error | cli, baml, playground, missing-assets, env-var |
| Could not unify Enum | validation | error | rust, type-system, baml, enum |
| encoding collector | exception | error | go, serialization, ffi, collectors |
| failed to get status | error_code | error | go, ffi, baml, method-call |
| Server received an exit notification before a shutdown… | exception | warning | lsp, shutdown, protocol |
| env.get argument must be a string | exception | error | baml, env, type-mismatch, builtin |
| Missing argument ' ' for function | exception | error | ffi, validation, arguments |
| unexpected type for calls count: %T | error_code | error | go, type-assertion, numeric, rpc |
| uses reserved table `[__baml_codegen]`; remove it because… | validation | error | config, toml, cli |
| BAML library not found. Searched paths | exception | critical | rust, ffi, library-loading, dynamic-linking |
| encoding client registry | exception | error | go, serialization, ffi, client-registry |
| endsWith() method takes exactly 1 argument at | exception | error | baml, argument-count, string-method, arity |
| error while building HTTP request for function | exception | error | http, prompt, baml, ruby |
| failed to get as base64 | exception | error | go, ffi, baml, media, base64 |
| failed to get input tokens | exception | error | go, usage, collector, raw-objects |
| : expected float at index , got | panic | error | vm-panic, invariant, float, type-safety |
| history boundary omitted run started record | exception | error | io, invalid-data, history, replay |
| invalid handle | exception | error | ffi, handle, lifetime |
| Only one change event, with full text, is supported for… | exception | error | lsp, unsaved, document-sync, rust |
| unexpected type for type builder creation: %T | exception | error | go, baml-runtime, type-assertion, internal |
| Unknown media kind | error_code | error | rust, type-conversion, enum |
| unkown function | exception | error | baml, wasm, vm, unsupported-function |
| BamlError | exception | error | internal, unclassified, napi, typescript |
| failed to initialize engine for resolution | exception | error | cli, engine-init, pack, resolution |
| invalid artifact header | exception | error | artifact, header, serialization, corruption |
| --manifest-base-url requires a value | validation | error | cli, usage, flag-value, toolchain |
| no command ` ` for ` `. Available commands | exception | error | cli, help, typo |
| ntypeargs fits in u16 | panic | error | compiler, internal, overflow, emit |
| right operand of || must be bool at | validation | error | baml, type-mismatch, interpreter, logical-operator |
| Unknown command: . Type :help for available commands. | exception | warning | repl, cli, unknown-command |
| Unknown variable | validation | error | baml, validation, scope, undeclared-variable |
| unsupported type: Checked[any] cannot be passed as inputs… | validation | error | go, baml, type-restriction |
baml.panics.UserPanic baml.sys.panic | error_code | error | vm, user-panic, stdlib, panic, baml |
| BamlValidationError | exception | error | validation, schema, llm, typescript |
| Could not unify Class | validation | error | rust, type-system, baml, class |
| Expected string value for tag key | validation | error | ffi, decode, tags, type-mismatch, rust |
| failed to marshal object method arguments | exception | error | go, protobuf, marshal, ffi |
| Function not found | exception | error | ffi, lookup, naming |
| No JSON objects found | error_code | error | parsing, json, llm-output |
| no profile store at | exception | info | rust, telemetry, empty-state, profiling |
| object method function returned nil pointer | exception | error | go, ffi, native, memory |
| This config does not have any returns declared! At least… | validation | error | config, validation, udf |
| AWS Bedrock only supports text blocks for system messages… | validation | error | aws-bedrock, system-prompt, media, unsupported-media-type |
| BAML internal error (openai-transcriptions): chat message… | exception | error | openai, transcriptions, not-implemented |
| Class instance did not contain fields marked as needed | exception | error | rust, streaming, missing-field, schema |
| list_filtered failed | exception | error | cli, baml, filtering, wrapped-error |
| : missing `[package]` table. Add: [package] name =… | validation | error | toml, manifest, config, rust |
| Playground server error | exception | error | rust, axum, http-server, network |
| Prompt exposure for AWS client is not supported | exception | error | rust, aws-bedrock, prompt-exposure, not-implemented |
| unsupported types for * operator at | validation | error | runtime, operators, type-error, interpreter |
| usage: baml toolchain install <canary|nightly|version> | validation | error | cli, usage, missing-argument, toolchain |
| VSIX file was not created at expected location | exception | error | filesystem, vsix, vscode, cli |
| while condition must be boolean | exception | error | interpreter, while-loop, type-mismatch, boolean, control-flow |
| {bail_context} | exception | error | cli, compilation, diagnostics, baml |
| BAML toolchain is not installed | console | error | cli, toolchain, uninstall, file-not-found |
| BamlError: BamlClientError: BamlClientFinishReasonError | exception | error | llm, finish-reason, token-limit, typescript |
| Class does not have a field | validation | error | baml, schema, override, validation |
| Filter function ' ' must return a boolean, got | exception | error | interpreter, watch, filter, type-mismatch, boolean |
| `gh ` failed | exception | error | github-cli, ci, subprocess, authentication |
| pack CLI not found at | exception | error | file-not-found, cargo, binary, size-gate |
| Predicate did not evaluate to a boolean | validation | error | validation, assert, jinja, boolean |
| spread operator can only be used on classes at | exception | error | interpreter, spread, class-constructor |
| unexpected type for status: %T | error_code | error | go, type-assertion, ffi, baml |
| An element at was a node when it should have been a token. | exception | error | parser, ast, syntax, formatter |
| array assignment index out of bounds | exception | error | baml, interpreter, assignment, index-out-of-bounds |
| Could not determine home directory | exception | error | rust, filesystem, environment, home-directory |
| failed to decode | error_code | error | artifact, serialization, borsh, decode |
| Failed to parse JSON | error_code | error | parsing, json, llm-output |
| artifact failed integrity validation | exception | error | artifact, integrity, hash, checksum, corruption |
| no target specified. Pass a positional | validation | error | cli, missing-argument, baml-pack |
| OpenAI transcription field `response_format` must be a… | validation | error | config, openai, transcription, type-mismatch |
| Unsupported | exception | error | baml, unsupported, macro |
| cargo build failed for pack | exception | error | cargo, build, pack, rust |
| Completion prompts are not supported by this provider | exception | error | baml, prompt, provider, unsupported |
| condition not bool at | exception | error | interpreter, type-mismatch, condition |
| ' ' contains an | validation | error | validation, identifier, fqn |
| Internal error: no baml src reader provided | exception | error | baml, media, internal, configuration |
| invalid media type | panic | critical | go, panic, enum, baml |
| Pdf is not base64 | exception | error | typescript, pdf, media, invalid-state |
| Unsupported property | validation | error | config, validation, unsupported-property |
| baml.fetch_as: expected url to be a string, got | validation | error | baml, http, type-mismatch, httprequest |
| ExposedError::AbortError | exception | warning | cancellation, abort, async |
| Function has no client | exception | error | baml, compile-time, missing-client, config |
| get_item | panic | critical | rust, pyo3, panic, typing-literal |
| ` ` is not a BAML source file. Use a `.baml` file with… | validation | error | cli, baml, file, extension, unsupported-type |
| no parsed result available from function call | exception | error | baml, parsing, result |
| Text document URI does not point to a text document | exception | error | lsp, document, rust |
| timeout | exception | error | timeout, latency, network, stdlib, baml |
| unsupported types for *= operator | exception | error | runtime, type-error, assignment, arithmetic |
| call_id is already in use by an active call | exception | error | ffi, concurrency, identifier |
| Cannot convert file media to user facing media | exception | error | media, unsupported-operation |