BoundaryML/baml
Documented errors, page 7 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| failed to clean segmented profiler data at | console | error | cli, profiling, filesystem, cleanup |
| Function panicked | exception | critical | rust, panic, internal-error, ffi |
| modulo by zero at | validation | error | baml, interpreter, modulo, type-error, unsupported-operation |
| No download URL for asset | exception | error | github-api, json, unexpected-response, rust |
| type_arg_templates count fits in u16 | panic | error | compiler, internal, overflow, emit |
| unexpected type for float type: %T | exception | error | go, ffi, type-builder, type-mismatch |
| AWS Bedrock support was not compiled into this build… | exception | error | aws-bedrock, feature-flag, build, missing-dependency |
| cannot derive an output name from | validation | error | cli, output-naming, baml-pack |
| decodeLiteralValue: valueLiteral is nil | panic | error | go, ffi, nil, literal, baml |
ErrDownloadFailed baml: failed to download shared library | error_code | error | network, download, http |
| Failed to fetch release metadata | exception | error | network, github-api, http-client, rust |
| Failed to parse response | exception | error | http, json, deserialization, tracing |
| Image is not a URL | exception | error | typescript, image, media, state-error |
| Jinja expressions cannot be resolved without a template… | validation | error | rust, jinja, resolution |
| Specified run directory does not exist | exception | error | cli, optimize, filesystem, path |
| unexpected type for bool type: %T | exception | error | go, ffi, type-builder, type-mismatch |
| unexpected type for selected: %T | exception | error | go, ffi, type-mismatch |
| UnscheduledFuture cannot be deserialized | exception | error | rust, deserialization, borsh, fail-fast-invariant |
| baml.sys.exit( ) | exception | info | exit, process, sysop |
| No candidates found in | exception | error | optimizer, tui, empty-result-set, rust |
| unexpected type for clear result: %T | exception | error | go, ffi, type-mismatch, collector |
| unexpected type for log by id: %T | exception | error | go, ffi, type-mismatch, collector |
| unsupported types for += in C-for after clause | exception | error | baml, interpreter, loop, arithmetic, type-mismatch |
| ai.Prompt.messages receiver must be an ai.Prompt instance | panic | error | rust, prompt, receiver, panic |
| Cannot find native binding. npm has a bug related to… | exception | critical | nodejs, native-binding, npm, installation |
| Class not found for instance | exception | error | vm, internal-error, rust, class |
| Class with name already exists. | validation | error | python, type-builder, duplicate-name, validation |
| failed to create media | exception | error | go, baml-runtime, media, construction-failure |
| No tests were found that can be run. Please add tests and… | exception | error | baml, cli, optimize, tests |
| tests have not been collected for this build yet | error_code | info | lsp, rust, async, tests |
| time-of-day fits in i64 | panic | error | rust, panic, internal-invariant, bigint |
| toolchain binary not found | console | error | cli, toolchain, path, file-not-found |
| Unable to resolve test params | exception | error | rust, testing, parameters, evaluation |
| unexpected type for media creation: %T | exception | error | go, baml-runtime, type-assertion, internal |
| access error | exception | error | permissions, access, sandbox, filesystem, stdlib |
| array access should be either map or array. | panic | error | rust, compiler, codegen, type-mismatch, panic |
| baml.fetch_as: expected method to be a valid HTTP method… | validation | error | baml, http, httprequest, method |
| Expected a string | validation | error | rust, baml, type-mismatch, resolution |
| Legacy @get is not supported.\n | validation | error | rust, deprecation, baml-schema, migration |
| No markdown blocks found | error_code | error | parsing, markdown, llm-output |
| precompiled stdlib is missing package | panic | critical | panic, stdlib, rust, missing-artifact |
TooManyArguments output_format() may only be called with named arguments | error_code | error | jinja, baml, argument-validation, template |
| unexpected type for selected call: %T | error_code | error | go, type-assertion, interface, llm |
| Unhandled rule | validation | error | rust, formatting, unsupported-syntax, strict-mode |
| Auth server returned | exception | error | auth, oauth-device-flow, unexpected-response, cli |
| ExposedError (formatted via format_last_error_with_details) | exception | error | rust, parsing, constraints |
| length() method takes no arguments at | exception | error | baml, method-call, arity, length |
| Could not add a type to the database as the name | error_code | error | sap, baml, duplicate-definition, name-collision |
| Failed to create BamlTracer | panic | critical | panic, tracer, telemetry, configuration |
| failed to get log by id | exception | error | go, ffi, collector, lookup |
| invalid args in test profile | validation | error | cli, config, baml, clap-parse |
| invalid SHA-256 checksum | exception | error | checksum, sha256, validation, manifest |
| manifest for has target set ; expected | exception | error | release, manifest, validation |
| manifest schema is newer than this wrapper; run `baml… | exception | error | manifest, schema, version-compatibility, self-update |
| original size does not fit usize | validation | error | rust, protobuf, integer-overflow, deserialization |
| unexpected result type in InvocationResponse: %T | exception | error | go, protobuf, ffi, version-mismatch |
| unexpected type for literal string type: %T | exception | error | go, type-builder, literal-type, internal-invariant |
| BAML engine is shutting down | exception | error | engine, shutdown, lifecycle, async, rust |
| capture loss omitted reason | validation | error | rust, protobuf, deserialization, enum |
| invalid profiling usage ledger | validation | error | rust, io, corruption, ledger, profiling |
| is not a versioned BAML artifact; | exception | error | artifact, magic-number, version-mismatch, format |
| OpenAI transcription audio must be resolved to base64… | validation | error | openai, transcription, audio, media, baml |
| User Failure: . Please report this error to our team with… | exception | error | baml, user-failure |
| Value was marked Done, but was incomplete in the stream | exception | error | rust, streaming, truncated-output |
| decodeRawObjectImpl is not set. Please call… | exception | error | go, initialization, missing-dependency |
| Expected integer, got | validation | error | baml, json, integer, deserialization |
| Failed to decode RawPtrType for object | validation | error | ffi, decode, object-handle, rust |
| Failed to distribute_type_with_meta | exception | error | rust, streaming, type-resolution, wrapped-error |
| This should never happen - Please report this error to our… | exception | critical | internal, bug, unreachable |
| a source root already exists at this path | exception | error | rust, database, duplicate-registration, filesystem |
| AWS region is required to build modular request. Set it in… | validation | error | aws, bedrock, region, config, environment |
| (LLM failure code Other(2)) | exception | error | llm, provider-error |
| No parsed value | exception | error | wasm, parsing, testing, rust |
| Requested media of MIME type | validation | error | media, mime-type, http, baml |
| baml.fetch_as: expected header value to be a string, got | validation | error | baml, http, headers, type-mismatch |
| could not start the playground server | exception | error | lsp, rust, playground, server-startup |
| failed to create type builder | exception | error | go, baml-runtime, type-builder, construction-failure |
| no filesystem is attached to this server | exception | error | lsp, filesystem, io, rust |
| all ingress capacities and the response reservation must be… | validation | error | lsp, rust, validation, limits |
| ` ` already exists. Refusing to overwrite an existing… | validation | error | cli, scaffold, overwrite-guard, already-exists |
| BAML internal error (Vertex): file should have been… | exception | error | vertex-ai, internal-error, media, base64 |
| Class does not exist | exception | error | rust, schema, class, template |
| Failed to parse float | error_code | error | rust, parsing, type-conversion |
| history boundary has inconsistent value segment boundary ids | exception | error | io, invalid-data, history, corruption |
| : `[package].name` cannot be empty. | validation | error | toml, manifest, config, empty-value |
| unsupported blob algorithm | validation | error | validation, digest, unsupported, artifact |
| array assignment requires a non-negative integer index at | exception | error | baml, interpreter, assignment, index |
| artifact not found: (expected at ) | exception | error | rust, build, file-not-found |
| CallFunctionArgs.call_target must be set | exception | error | ffi, validation, missing-field |
| Found none of openapi-generator, openapi-generator-cli, or… | exception | error | cli, path, openapi, missing-dependency |
| pack produced no output at | exception | error | file-not-found, baml, pack, invariant |
| Type alias not found | validation | error | baml, types, schema, alias |
| is a local path and is not managed by the wrapper, so there… | validation | error | cli, toolchain, uninstall |
| An element at was a token when it should have been a node. | exception | error | parser, ast, syntax, formatter |
| BamlError: BamlInvalidArgumentError | exception | error | rust, napi, invalid-argument, validation |
| Expected a string, not a class constructor | validation | error | rust, baml, type-mismatch, class-constructor |
| Failed to load cargo metadata | panic | error | rust, cargo, metadata |
| Please specify a media type for this | validation | error | rust, media, mime-type |
| sha256 mismatch for : expected , got | exception | critical | security, checksum, download |
| usage: baml toolchain uninstall | validation | error | cli, usage, missing-argument, toolchain |