langchain-ai/langchain
Documented errors, page 4 of 4. Back to langchain-ai/langchain
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Unknown tool type: . Available tools | exception | error | tool-calling, pydantic, configuration, model-behavior |
| Got unsupported file type | exception | error | prompts, loading, file-format |
| Only one of example_prompt and example_prompt_path should… | exception | error | prompts, loading, few-shot, config, validation |
| Target node not in graph | exception | error | graph, value-error, visualization, langchain-core |
| Unsupported function | exception | error | |
| metadata must be a list of the same length as prompts | exception | error | llm, batch, metadata, validation |
| If env_var is set, handle_class must also be set to a… | exception | error | langchain, tracing, callbacks, configuration |
| Path ' ' contains '..' components. Directory traversal… | exception | error | prompts, security, path-traversal, loading |
| char should be a single character | exception | warning | graph, ascii-art, value-error, visualization, langchain-core |
| Expected dict to have exact keys 'role' and 'content'. Got | exception | error | prompts, from-messages, dict-messages |
| Name must be a string for tool constructor | exception | error | langchain, tools, runnable, api-misuse |
| Install Pyppeteer to use the Pyppeteer method: `pip install… | exception | error | graph, mermaid, png, missing-dependency, importerror, pyppeteer |
| Canvas dimensions should be > 1 | exception | warning | graph, ascii-art, value-error, visualization, langchain-core |
| Unsupported output parser | exception | error | prompts, loading, output-parser, config |
| Expected 'type' to be a str, got | exception | error | serialization, type-discriminator, input-validation |
| Unrecognized format= | exception | error | prompt-formatting, argument-validation |
| The first argument must be a string or a callable with a… | exception | error | langchain, tools, api-misuse, validation |
| Node with id already exists | exception | error | graph, value-error, visualization, langchain-core |
| Invalid args_schema: expected BaseModel or dict, got | exception | error | langchain, tools, schema, pydantic, type-error |
| Expected variable name to be a string. Got | exception | error | prompts, messages-placeholder, type-validation |
| Function and/or coroutine must be provided | exception | error | langchain, tools, structured-tool, validation |
| Number of manually provided run_id's does not match batch… | exception | error | llm, batch, run-id, uuid, validation |
| start_on parameter is only valid with strategy='last' | exception | error | trim-messages, argument-validation, context-window |
| mime_type is required when using base64 data | exception | error | video, base64, mime-type, content-blocks, validation |
| Unrecognized . Supported strategies are 'last' and 'first'. | exception | error | trim-messages, argument-validation, context-window |
| messages list cannot be empty. | exception | error | fake-model, testing, empty-input, validation |
| The number of tool_outputs | exception | error | |
| Expected content to be a string. | exception | error | fake-model, testing, multimodal, type-mismatch |
| Runnable without name for tool constructor | exception | error | langchain, tools, runnable, api-misuse |
| run_name must be a list of the same length as prompts | exception | error | llm, batch, run-name, validation |
| include_system parameter is only valid with strategy='last' | exception | error | trim-messages, argument-validation, context-window |
| Tool does not support sync invocation. | exception | error | langchain, tools, async, not-implemented |
| StructuredTool does not support sync invocation. | exception | error | langchain, tools, async, structured-tool, not-implemented |
| One of 'examples' and 'example_selector' should be provided | validation | error | prompts, few-shot, pydantic-validation |
| Tool/function already has a 'strict' key with value | exception | error | |
| Unsupported function | exception | error | |
| Invalid annotation for field | exception | error | |
| Unsupported tool call schema | exception | error | |
| Got invalid return object. Expected key | exception | error | |
| ref paths are expected to be URI fragments, meaning they… | exception | error | |
| Expected JSON object (dict), but got | exception | error | |
| No colors available after applying exclusions. | exception | error | |
| Input must be a valid OpenAI-format tool. | exception | error | |
| Found invalid Google-Style docstring. | exception | error | |
| Got invalid JSON object. Error | exception | error | |
| Model must be a Pydantic model. | exception | error | |
| Reference ' ' not found. | exception | error |