ErrLookup › langchain-ai/langchain

langchain-ai/langchain

The agent engineering platform. · Python · 1,740 source files

Analyzed at e32fa9a52e on 2026-08-14. 369 documented errors.

Code / MessageTypeSeverityTags
A pending deprecation cannot have a scheduled removal
exception error deprecation, langchain-core, api-misuse
Cannot specify both alternative and alternative_import
exception error deprecation, langchain-core, api-misuse
alternative_import must be a fully qualified module path. Go
exception error deprecation, langchain-core, api-misuse
Field {obj} must have a name to be deprecated.
exception error deprecation, pydantic-v1, langchain-core
{f.__name__}() got multiple values for argument {new!r}
exception error deprecation, kwargs, api-migration
module '{package!r}' has no attribute {attr_name!r}
exception error imports, lazy-loading, langchain-core
module '{package!r}.{module_name!r}' not found ({err})
exception error imports, version-skew, langchain-core
invalid IP address
exception error ssrf, security, network, validation
private IP range
exception error ssrf, security, network, private-ip
blocked CIDR
exception error ssrf, security, network, cidr
localhost address
exception error ssrf, security, localhost, network
cloud metadata endpoint
exception critical ssrf, security, cloud-metadata, credentials
Kubernetes internal DNS
exception error ssrf, security, kubernetes, dns
DNS resolution failed
exception error ssrf, dns, network, asyncio
scheme '{scheme}' not allowed
exception error ssrf, security, url-validation, scheme
missing hostname
exception error ssrf, url-validation, misconfiguration
{exc}
exception error ssrf, security, valueerror, network
Failed to resolve hostname '{hostname}': {e}
exception error ssrf, security, dns, network, validation
Network error while validating URL: {e}
exception error ssrf, dns, network, transient, validation
DNS resolution failed
exception error ssrf, httpx, dns, network, async
DNS resolution returned no results
exception error ssrf, httpx, dns, async, edge-case
maxsize must be greater than 0
exception error cache, validation, constructor, configuration
File is not open. Use FileCallbackHandler as a context manag
exception error callbacks, file-io, context-manager, deprecation
The dispatcher API does not accept additional keyword argume
exception error callbacks, events, api-contract, validation
Tracing using LangChainTracerV1 is no longer supported. Plea
exception error tracing, langsmith, environment, migration
Unable to dispatch an adhoc event without a parent run id.Th
exception error callbacks, events, async, runtime-context
add_message is not implemented for this class. Please implem
exception error chat-history, interface, not-implemented
Unable to import from langchain_text_splitters. Please speci
exception error document-loader, dependency, import, text-splitting
{self.__class__.__name__} does not implement lazy_load()
exception error document-loader, interface, not-implemented
Received both `client` and `client_kwargs`. Pass `client_kwa
exception error langsmith, document-loader, constructor, validation
Could not resolve content_key {full_path!r}: expected a mapp
exception error langsmith, document-loader, configuration, validation
Could not resolve content_key {full_path!r}: missing key {ke
exception error langsmith, document-loader, configuration, validation
Either data or path must be provided
validation error blob, documents, validation, pydantic
Unable to get string for blob {self}
exception error blob, documents, type-error
Unable to get bytes for blob {self}
exception error blob, documents, type-error
Unable to convert blob {self}
exception error blob, documents, not-implemented, file-like
Arguments 'observation' & 'llm_output' are required if 'send
exception error exceptions, output-parsing, agents, validation
Batch size must be a positive integer, got {size}.
exception error indexing, batching, validation
source_id_key should be either None, a string or a callable.
exception error indexing, validation, cleanup
Unsupported hashing algorithm: {algorithm}
exception error indexing, hashing, validation
Failed to hash metadata: {e}. Please use a dict that can be
exception error indexing, serialization, metadata, json
_HashedDocument is an internal abstraction that was deprecat
exception error indexing, deprecation, breaking-change, private-api
The delete operation to VectorStore failed.
exception error indexing, vector-store, cleanup, delete
The delete operation to DocumentIndex failed.
exception error indexing, document-index, cleanup, delete
Vectorstore should be either a VectorStore or a DocumentInde
exception error indexing, type-error, vector-store
cleanup should be one of 'incremental', 'full', 'scoped_full
exception error indexing, cleanup, validation
Source id key is required when cleanup mode is incremental o
exception error indexing, cleanup, source-id
Vectorstore {destination} does not have required method {met
exception error indexing, vector-store, interface
Vectorstore has not implemented the delete method
exception error indexing, vector-store, delete, interface
Vectorstore should be either a VectorStore or a DocumentInde
exception error indexing, type-error, vector-store, document-index
Source IDs are required when cleanup mode is incremental or
exception error indexing, cleanup, source-id, incremental
Vectorstore has not implemented the adelete or delete method
exception error indexing, vector-store, not-implemented
Length of keys must match length of group_ids
exception error record-manager, validation, api-misuse
time_at_least must be in the past
exception error record-manager, time-drift, validation
IDs must be provided for deletion
exception error document-index, in-memory, validation
Could not import transformers python package. This is needed
exception error dependencies, tokenizer, import-error
SyncTextProjection requires a string delta
exception error streaming, typeerror, internal-api
SyncTextProjection requires a string final value
exception error streaming, typeerror, internal-api
SyncTextProjection received a non-string delta
exception error streaming, typeerror, internal-api
SyncTextProjection received a non-string final value
exception error streaming, typeerror, internal-api
AsyncTextProjection received a non-string delta
exception error streaming, async, typeerror, internal-api
AsyncTextProjection requires a string delta
exception error streaming, async, typeerror, internal-api
AsyncTextProjection requires a string final value
exception error streaming, async, typeerror, internal-api
AsyncTextProjection received a non-string final value
exception error streaming, async, type-mismatch, chat-model
Stream finished without producing a message
exception error streaming, empty-stream, chat-model, invariant
No generations found in stream.
exception error streaming, empty-stream, validation
Invalid input type {type(model_input)}. Must be a PromptValu
exception error input-validation, messages, type-mismatch
Asked to cache, but no cache found at `langchain.cache`.
exception error cache, configuration, sync
v2 stream finished without producing a message
exception error streaming, v2-protocol, empty-stream, chat-model
Unexpected generation type
exception error generations, type-mismatch, custom-model, async
Received unsupported arguments {kwargs}
exception error structured-output, kwargs, input-validation
with_structured_output is not implemented for this model.
exception error structured-output, bind-tools, custom-model, not-implemented
Expected generate to return a ChatResult, but got {type(chat
exception error fake-model, testing, type-mismatch, custom-model
Expected invoke to return an AIMessage, but got {type(messag
exception error fake-model, testing, messages, type-mismatch
Expected content to be a string.
exception error fake-model, testing, multimodal, type-mismatch
messages list cannot be empty.
exception error fake-model, testing, empty-input, validation
No global cache was configured. Use `set_llm_cache`.to set a
exception error cache, configuration, llm
Unsupported cache value {cache}
exception error cache, input-validation, type-mismatch
Invalid input type {type(model_input)}. Must be a PromptValu
exception error input-validation, llm, type-mismatch
Argument 'prompts' is expected to be of type list[str], rece
exception error input-validation, llm, batch, type-mismatch
callbacks must be the same length as prompts
exception error callbacks, input-validation, batch, length-mismatch
tags must be a list of the same length as prompts
exception error llm, batch, callbacks, validation
metadata must be a list of the same length as prompts
exception error llm, batch, metadata, validation
run_name must be a list of the same length as prompts
exception error llm, batch, run-name, validation
Number of manually provided run_id's does not match batch le
exception error llm, batch, run-id, uuid, validation
{save_path} must be json or yaml
exception error llm, persistence, serialization, file-io
Expected Serializable, got {type(obj)}
exception error serialization, dump, type-error
`default` should not be passed to dumps
exception error serialization, dump, json, kwargs, security
Jinja2 templates are not allowed during deserialization for
exception critical security, deserialization, jinja2, prompt-template
allowed_objects must contain Serializable subclasses.
exception error deserialization, allowlist, type-error, validation
Trying to load an object that doesn't implement serializatio
exception error deserialization, serialization, not-implemented
Deserialization of {mapping_key!r} is not allowed. The defau
exception critical security, deserialization, allowlist, load
Invalid namespace: {value}
exception critical security, deserialization, namespace, load
Trying to deserialize something that cannot be deserialized
exception error deserialization, legacy, namespace, migration
Class {self.__class__} has a deprecated attribute {attr}. Pl
exception error serialization, migration, deprecated-api, serializable
unsupported operand type(s) for +: "{self.__class__.__name__
exception error messages, type-error, concatenation, langchain-core
Image URL not a data URI; appending as non-standard block.
exception error gemini, google-genai, image, content-blocks, data-uri
Could not extract Python code from Groq tool arguments. Expe
exception error groq, tool-calls, code-interpreter, json-parsing
mime_type key is required for base64 data.
exception error openai, image, base64, mime-type, content-blocks
Unsupported source type. Only 'url' and 'base64' are support
exception error openai, image, content-blocks, validation
OpenAI Chat Completions does not support file URLs.
exception error openai, chat-completions, responses-api, file, url
Keys base64, url, or file_id required for file blocks.
exception error openai, file, content-blocks, validation
Key base64 is required for audio blocks.
exception error openai, audio, base64, content-blocks
Block of type {block['type']} is not supported.
exception error openai, content-blocks, type-dispatch, validation
Cannot concatenate ChatMessageChunks with different roles.
exception error messages, streaming, chunks, chat-message, concatenation
Must provide one of: url, base64, or file_id
exception error image, content-blocks, validation, constructor
mime_type is required when using base64 data
exception error video, base64, mime-type, content-blocks, validation
Cannot concatenate FunctionMessageChunks with different name
exception error messages, streaming, chunks, function-calling, legacy
ToolMessage content should be a string or a list of string/d
exception error tool-message, validation, serialization, pydantic
ToolMessage content should be a string or a list of string/d
exception error tool-message, validation, serialization, list-content
Cannot concatenate ToolMessageChunks with different names.
exception error streaming, tool-calls, message-chunks
Expected either a dictionary with a 'type' key or an object
exception error serialization, message-dicts, type-discriminator
Expected 'type' to be a str, got {type(result).__name__}
exception error serialization, type-discriminator, input-validation
Got unsupported message type: {m}
exception error prompt-formatting, custom-messages, chat-history
Unrecognized format={format!r}. Supported formats are 'prefi
exception error prompt-formatting, argument-validation
Got unexpected message type: {type_}
exception error serialization, deserialization, persistence
MESSAGE_COERCION_FAILURE
Unexpected message type: '{message_type}'. Use one of 'human', 'user', 'ai', 'as
exception error message-coercion, roles, input-validation
Message as a sequence must be (role string, template)
exception error message-coercion, tuples, input-validation
start_on parameter is only valid with strategy='last'
exception error trim-messages, argument-validation, context-window
include_system parameter is only valid with strategy='last'
exception error trim-messages, argument-validation, context-window
Invalid token_counter shortcut '{token_counter}'. Available
exception error trim-messages, token-counting, argument-validation
'token_counter' expected to be a model that implements 'get_
exception error trim-messages, token-counting, argument-validation
Unrecognized {strategy=}. Supported strategies are 'last' an
exception error trim-messages, argument-validation, context-window
Unrecognized {text_format=}, expected one of 'string' or 'bl
exception error openai, message-conversion, argument-validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error openai, content-blocks, multimodal, input-validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error openai, content-blocks, multimodal, images
Unrecognized content block at messages[{i}].content[{j}] has
exception error anthropic, openai, content-blocks, multimodal, images
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, content-blocks, bedrock, openai-conversion, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, content-blocks, openai, anthropic, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, tool-calls, anthropic, openai-conversion, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, tool-calls, anthropic, openai-conversion, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, content-blocks, json, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, content-blocks, guard-content, validation
Unrecognized content block at messages[{i}].content[{j}] has
exception error messages, content-blocks, vertexai, multimodal, validation
OpenAI messages can only support text and image data. Receiv
exception error messages, multimodal, vertexai, openai, unsupported-format
Unrecognized content block at messages[{i}].content[{j}] doe
exception error messages, content-blocks, openai-conversion, unsupported-format, validation
Expected '__openai_role__' to be a str, got {type(role).__na
exception error messages, openai, system-role, type-error, validation
Unknown BaseMessage type {message.__class__}.
exception error messages, openai, roles, custom-classes, type-coercion
BooleanOutputParser expected output value to either be {self
exception error output-parsers, boolean, prompt-engineering, llm-output
Runnable {self.__class__.__name__} doesn't have an inferable
exception error output-parsers, typing, generics, serialization
_type property is not implemented in class {self.__class__._
exception error output-parsers, serialization, subclass-contract
Invalid json output: {text}
exception error output-parsers, json, llm-output, structured-output
This output parser can only be used with a chat generation.
exception error output-parsers, openai, function-calling, legacy, chat-models
Could not parse function call: {exc}
exception error output-parsers, openai, function-calling, legacy, llm-output
Expected exactly one result, but got {len(result)}
exception error openai-functions, output-parsing, configuration
Could not parse function call data: {exc}
exception error openai-functions, output-parsing, json
If multiple pydantic schemas are provided then args_only sho
exception error openai-functions, pydantic, configuration, validation
Dict Pydantic schema unsupported with args_only: {self.pydan
exception error openai-functions, pydantic, mutation, validation
Unsupported Pydantic schema with args_only: {self.pydantic_s
exception error openai-functions, pydantic, type-mismatch
Unsupported Pydantic schema: {pydantic_schema}
exception error openai-functions, pydantic, type-mismatch
Function {raw_tool_call['function']['name']} arguments: {ar
exception error tool-calling, json, output-parsing, openai
{exceptions joined with '\n\n'}
exception error tool-calling, json, output-parsing, aggregation
This output parser can only be used with a chat generation.
exception error tool-calling, output-parsing, type-mismatch
Tool arguments must be specified as a dict, received: {res['
exception error tool-calling, pydantic, validation, output-parsing
Unknown tool type: {res['type']!r}. Available tools: {availa
exception error tool-calling, pydantic, configuration, model-behavior
Unsupported model version for PydanticOutputParser: {self.py
exception error pydantic, output-parsing, type-mismatch
defusedxml is not installed. Please install it to use the de
exception error xml, dependencies, security, import-error
Failed to parse XML format from completion {text}. Got: {e}
exception error xml, output-parsing, model-behavior
unsupported operand type(s) for +: '{type(self)}' and '{type
exception error streaming, type-mismatch, chat, aggregation
unsupported operand type(s) for +: '{type(self)}' and '{type
exception error streaming, type-error, outputs, core
INVALID_PROMPT_INPUT
Cannot have an input variable named 'stop', as it is used internally, please ren
validation error prompts, validation, reserved-name, core
Cannot save prompt with partial variables.
exception error prompts, serialization, partial-variables, core
Prompt {self} does not support saving.
exception error prompts, serialization, custom-class, core
{save_path} must be json or yaml
exception error prompts, serialization, file-format, core
variable {self.variable_name} should be a list of base messa
exception error prompts, chat, messages, validation, core
Partial variables are not supported for list of templates.
exception error prompts, chat, partial-variables, core
Only one format variable allowed per image template.\nGot: {
exception error prompts, chat, multimodal, images, core
Invalid image template: {tmpl}
exception error prompts, chat, multimodal, images, core
jinja2 is unsafe and is not supported for templates expresse
exception error prompts, chat, jinja2, security, core
Invalid template: {tmpl}
exception error prompts, chat, validation, core
Invalid template: {template}
exception error prompts, chat, validation, core
Unsupported operand type for +: {type(other)}
exception error prompts, chat, operator-overload, core
Got mismatched input_variables. Expected: {input_vars}. Got:
exception error prompts, chat, validation, input-variables, core
Unexpected input: {message_template}
exception error prompts, chat, messages, validation, core
Invalid placeholder template: {template}. Expected a variabl
exception error prompts, messages-placeholder, from-messages
Unexpected arguments for placeholder message type. Expected
exception error prompts, messages-placeholder, from-messages
Expected is_optional to be a boolean. Got: {is_optional}
exception error prompts, messages-placeholder, type-validation
Expected variable name to be a string. Got: {var_name_wrappe
exception error prompts, messages-placeholder, type-validation
Invalid placeholder template: {var_name_wrapped}. Expected a
exception error prompts, messages-placeholder, from-messages
Unexpected message type: {message_type}. Use one of 'human',
exception error prompts, chat-template, from-messages, roles
Expected dict to have exact keys 'role' and 'content'. Got:
exception error prompts, from-messages, dict-messages
Expected 2-tuple of (role, template), got {message}
exception error prompts, from-messages, tuple-messages
Unsupported message type: {type(message)}
exception error prompts, from-messages, type-validation
Only one of 'examples' and 'example_selector' should be prov
validation error prompts, few-shot, pydantic-validation
One of 'examples' and 'example_selector' should be provided
validation error prompts, few-shot, pydantic-validation
Saving an example selector is not currently supported
exception error prompts, few-shot, serialization
Only one of 'examples' and 'example_selector' should be prov
validation error prompts, few-shot, pydantic-validation
One of 'examples' and 'example_selector' should be provided
validation error prompts, few-shot, pydantic-validation
Got input_variables={input_variables}, but based on prefix/s
validation error prompts, few-shot, input-variables, pydantic-validation
Saving an example selector is not currently supported
exception error prompts, few-shot, serialization, valueerror
input_variables for the image template cannot contain any of
exception error prompts, image, multimodal, validation
Loading images from 'path' has been removed as of 0.3.15 for
exception error prompts, image, security, version-change, multimodal
Must provide url.
exception error prompts, image, validation, multimodal
url must be a string.
exception error prompts, image, type-error, multimodal
Path '{path}' is absolute. Absolute paths are not allowed wh
exception error prompts, security, path-traversal, loading
Path '{path}' contains '..' components. Directory traversal
exception error prompts, security, path-traversal, loading
Loading {config_type} prompt not supported
exception error prompts, loading, config, valueerror
Both `{var_name}_path` and `{var_name}` cannot be provided.
exception error prompts, loading, config, validation
Unsupported template file format: '{resolved_path.suffix}'.
exception error prompts, loading, file-format, config
Invalid file format. Only json or yaml formats are supported
exception error prompts, loading, file-format, few-shot
Invalid examples format. Only list or string are supported.
exception error prompts, loading, config, few-shot, validation
Unsupported output parser {output_parser_type}
exception error prompts, loading, output-parser, config
Only one of example_prompt and example_prompt_path should be
exception error prompts, loading, few-shot, config, validation
Loading templates with '{template_format}' format is no long
exception error prompts, security, jinja2, loading, code-execution
Loading from the deprecated github-based Hub is no longer su
exception error prompts, hub, deprecation, migration, runtimeerror
Got unsupported file type {file_path.suffix}
exception error prompts, loading, file-format
Can't load chat prompt without template
exception error prompts, chat, loading, config
Mustache templates cannot be validated.
exception error prompts, mustache, validation, valueerror
Input variables must be provided to validate the template.
exception error prompts, validation, input-variables, valueerror
Cannot add templates of different formats
exception error prompts, prompt-template, valueerror, operator-overload
Cannot have same variable partialed twice.
exception error prompts, prompt-template, partial-variables, valueerror
Unsupported operand type for +: {type(other)}
exception error prompts, prompt-template, notimplementederror, operator-overload, type-mismatch
jinja2 not installed, which is needed to use the jinja2_form
exception error prompts, jinja2, importerror, dependencies, optional-deps
jinja2 not installed, which is needed to use the jinja2_form
exception error prompts, jinja2, importerror, dependencies, variable-inference
Invalid variable name {var!r} in f-string template. Variable
exception error prompts, f-string, template-validation, valueerror
Invalid variable name {var!r} in f-string template. Variable
exception error prompts, f-string, template-validation, valueerror, naming
Invalid format specifier in f-string template. Nested replac
exception error prompts, f-string, format-spec, template-validation, valueerror
Invalid template format {template_format!r}, should be one o
exception error prompts, template-format, valueerror, configuration, typo
Invalid prompt schema; check for mismatched or missing input
exception error prompts, input-variables, template-validation, valueerror
Unsupported template format: {template_format}
exception error prompts, template-format, valueerror, validation
Must pass in a non-empty structured output schema. Received:
exception error prompts, structured-output, pydantic, valueerror, missing-argument
Structured prompts need to be piped to a language model.
exception error prompts, structured-output, lcel, pipe-operator, notimplementederror
Runnable {self.get_name()} doesn't have an inferable InputTy
exception error runnables, lcel, type-inference, typeerror, custom-components
Runnable {self.get_name()} doesn't have an inferable OutputT
exception error runnables, lcel, type-inference, typeerror, custom-components
astream_events(version='v3') is only supported on Runnable s
exception error runnables, streaming, astream-events, notimplementederror, versioning
Unsupported version: {version!r}. Expected 'v1', 'v2', or 'v
exception error runnables, streaming, astream-events, notimplementederror, input-validation
stream_events(version='v3') is only supported on Runnable su
exception error runnables, streaming, stream-events, notimplementederror, sync-api
stream_events(version={version!r}) is not supported. Use ast
exception error runnables, streaming, stream-events, notimplementederror, async
Configuration key {key} not found in {self}: available keys
exception error runnables, configuration, configurable-fields, valueerror, field-names
RunnableSequence must have at least {_RUNNABLE_SEQUENCE_MIN_
exception error runnable, runnable-sequence, validation, constructor
Runnable {step} has no first node
exception error runnable, runnable-sequence, graph, get-graph, custom-runnable
Runnable {step} has no last node
exception error runnable, runnable-parallel, graph, get-graph
Expected a generator function type for `transform`.Instead g
exception error runnable, runnable-generator, streaming, typeerror
{self!r} only supports async methods.
exception error runnable, runnable-generator, sync-async-mismatch, streaming
{self!r} only supports sync methods.
exception error runnable, runnable-generator, sync-async-mismatch, streaming, asyncio
Func was provided as a coroutine function, but afunc was als
exception error runnable, runnable-lambda, typeerror, sync-async-mismatch
Expected a callable type for `func`.Instead got an unsupport
exception error runnable, runnable-lambda, typeerror, validation
Runnable {dep} has no first node
exception error runnable, runnable-each, map, graph, get-graph
Runnable {dep} has no last node
exception error runnable, runnable-each, graph, get-graph
Recursion limit reached when invoking {self} with input {inp
exception critical runnable, runnable-lambda, recursion, infinite-loop, config
Recursion limit reached when invoking {self} with input {val
exception critical runnable, runnable-lambda, asyncio, recursion, infinite-loop
Cannot invoke a coroutine function synchronously.Use `ainvok
exception error runnable, runnable-lambda, sync-async-mismatch, typeerror, asyncio
Recursion limit reached when invoking {self} with input {fin
exception critical runnable, runnable-lambda, streaming, recursion
Cannot stream a coroutine function synchronously.Use `astrea
exception error runnable, runnable-lambda, streaming, sync-async-mismatch, typeerror
Cannot stream from a generator function asynchronously.Use .
exception error runnable, runnable-lambda, streaming, sync-async-mismatch, asyncio
RunnableEach does not support astream_events yet.
exception error runnable, runnable-each, map, astream-events, not-implemented, tracing
Expected a Runnable, callable or dict.Instead got an unsuppo
exception error runnable, type-error, chain-composition, langchain-core
RunnableBranch requires at least two branches
exception error runnable-branch, value-error, chain-composition, langchain-core
RunnableBranch default must be Runnable, callable or mapping
exception error runnable-branch, type-error, chain-composition, langchain-core
RunnableBranch branches must be tuples or lists, not {type(b
exception error runnable-branch, type-error, chain-composition, langchain-core
RunnableBranch branches must be tuples or lists of length 2,
exception error runnable-branch, value-error, chain-composition, langchain-core
length must be >= 0, but got {length}
exception error config, batch, value-error, internal-api, langchain-core
config must be a list of the same length as inputs, but got
exception error config, batch, value-error, langchain-core
Unknown alternative: {which}
exception error configurable, config, value-error, runtime-config, langchain-core
If 'exception_key' is specified then input must be a diction
exception error fallbacks, value-error, input-validation, langchain-core
If 'exception_key' is specified then inputs must be dictiona
exception error fallbacks, batch, value-error, input-validation, langchain-core
Node with id {id} already exists
exception error graph, value-error, visualization, langchain-core
Source node {source.id} not in graph
exception error graph, value-error, visualization, langchain-core
Target node {target.id} not in graph
exception error graph, value-error, visualization, langchain-core
Canvas dimensions should be > 1
exception warning graph, ascii-art, value-error, visualization, langchain-core
char should be a single character
exception warning graph, ascii-art, value-error, visualization, langchain-core
x should be >= 0 and < number of columns
exception warning graph, ascii-art, value-error, visualization, bounds-check, langchain-core
y should be >= 0 and < number of lines
exception error graph, ascii-rendering, coordinates, valueerror
Box dimensions should be > 1
exception error graph, ascii-rendering, dimensions, valueerror
Install grandalf to draw graphs: `pip install grandalf`.
exception error graph, ascii-rendering, missing-dependency, importerror, grandalf
Not enough points to draw an edge
exception error graph, ascii-rendering, layout, grandalf, valueerror
Invalid edge coordinates: start_x={start_x}, start_y={start_
exception error graph, ascii-rendering, layout, rounding, valueerror
Found duplicate subgraph '{subgraph}' -- this likely means t
exception error graph, mermaid, subgraph, naming, valueerror
Invalid draw method: {draw_method}. Supported draw methods a
exception error graph, mermaid, png, enum, valueerror
Install Pyppeteer to use the Pyppeteer method: `pip install
exception error graph, mermaid, png, missing-dependency, importerror, pyppeteer
Install the `requests` module to use the Mermaid.INK API: `p
exception error graph, mermaid, png, missing-dependency, importerror, requests
Failed to reach {base_url} API while trying to render your g
exception error graph, mermaid, network, http, valueerror
Failed to reach {base_url} API while trying to render your g
exception error graph, mermaid, network, timeout, retry, valueerror
Install pygraphviz to draw graphs: `pip install pygraphviz`.
exception error graph, png, missing-dependency, importerror, pygraphviz, graphviz
Expected a single list of messages. Got {input_val}.
exception error runnable, message-history, batch, input-validation, valueerror
Expected str, BaseMessage, list[BaseMessage], or tuple[BaseM
exception error runnable, message-history, input-validation, valueerror
Expected str, BaseMessage, list[BaseMessage], or tuple[BaseM
exception error runnable, message-history, output-validation, valueerror
Missing keys {sorted(missing_keys)} in config['configurable'
exception error runnable, message-history, config, session-id, valueerror
Expected keys {sorted(expected_keys)} do not match parameter
exception error runnable, message-history, config, factory-signature, valueerror
The input to RunnablePassthrough.assign() must be a dict.
exception error lcel, runnable, passthrough-assign, type-mismatch, valueerror
No runnable associated with key '{key}'
exception error router, lcel, dispatch, key-mismatch
One or more keys do not have a corresponding runnable
exception error router, batch, pre-validation, lcel
Cannot add incompatible types for key {key!r}: {type(chunk[k
exception error runnable, addabledict, streaming, type-mismatch
Cannot add incompatible types for key {key!r}: {type(chunk[k
exception error addabledict, streaming, type-mismatch, runnable
RunnableSequence contains conflicting config specsfor {spec_
exception error configurable-fields, runnable-sequence, lcel, config-conflict
Received disallowed operator {func}. Allowed comparators are
exception error structured-query, self-query-retriever, vector-store, filter-translation
Received disallowed comparator {func}. Allowed comparators a
exception error structured-query, self-query-retriever, comparator, vector-store
Arg {docstring_arg} in docstring not found in function signa
exception error tool, docstring, parse-docstring, validation
Function {func} contains a mix of Pydantic v1 and v2 annotat
exception error tool, pydantic, pydantic-v1-migration, annotations
Tool definition for {name} must include valid type annotatio
exception error tool, base-tool, schema-annotation, subclassing
args_schema must be a subclass of pydantic BaseModel or a JS
exception error tool, args-schema, validation, pydantic
String tool inputs are not allowed when using tools with JSO
exception error tool, json-schema, input-validation, string-input
When tool includes an InjectedToolCallId argument, tool must
exception error tool, tool-calling, injected-tool-call-id, agents
Runnable must have an object schema.
exception error langchain, tools, runnable, schema
Function must have either a docstring or description when in
exception error langchain, tools, docstring, validation
Too many arguments for tool decorator. A decorator
exception error langchain, tools, api-misuse, decorator
Runnable without name for tool constructor
exception error langchain, tools, runnable, api-misuse
Name must be a string for tool constructor
exception error langchain, tools, runnable, api-misuse
The first argument must be a string or a callable with a __n
exception error langchain, tools, api-misuse, validation
Tool input must be str or dict. If dict, dict arguments must
exception error langchain, tools, runnable, typing, schema
Too many arguments to single-input tool {self.name}.
exception error langchain, tools, arguments, schema
Tool does not support sync invocation.
exception error langchain, tools, async, not-implemented
Function and/or coroutine must be provided
exception error langchain, tools, validation, structured-tool
StructuredTool does not support sync invocation.
exception error langchain, tools, async, structured-tool, not-implemented
Function and/or coroutine must be provided
exception error langchain, tools, structured-tool, validation
Invalid args_schema: expected BaseModel or dict, got {args_s
exception error langchain, tools, schema, pydantic, type-error
Function must have a docstring if description not provided.
exception error langchain, tools, docstring, structured-tool
If env_var is set, handle_class must also be set to a non-No
exception error langchain, tracing, callbacks, configuration
No indexed run ID {run_id}.
exception error langchain, tracing, callbacks, lifecycle
Found {run.run_type} run at ID {run_id}, but expected {run_t
exception error langchain, tracing, callbacks, lifecycle
Chat model tracing is not supported in for {self._schema_for
exception warning langchain, tracing, chat-model, schema-format, not-implemented
Invalid format: {self._schema_format}
exception error tracing, langsmith, configuration, langchain-core
unsupported operand type(s) for +: '{type(self)}' and '{type
exception error streaming, astream-log, type-error, python
left and right are of different types. Left type: {type(lef
exception error merge, utilities, type-error, configuration
Model must be a Pydantic model.
exception error
Failed to generate JSON schema for '{model_name}': {e} Tool
exception error
Invalid annotation for field {arg}. Third argument to Annota
exception error
Unsupported tool call schema: {tool.tool_call_schema}. Tool
exception error
Unsupported function {function} To use a JSON schema as a
exception error
Unsupported function {function} Functions must be passed i
exception error
Tool/function already has a 'strict' key with value {oai_fun
exception error
Input must be a valid OpenAI-format tool.
exception error
The number of tool_outputs ({len(tool_outputs)}) must match
exception error
Found invalid Google-Style docstring.
exception error
'{name}' has been removed for security reasons. Usage of th
exception error
No colors available after applying exclusions.
exception error
Batch size must be a positive integer, got {size}.
exception error
Got invalid JSON object. Error: {e}
exception error
Expected JSON object (dict), but got: {type(json_obj).__name
exception error
Got invalid return object. Expected key `{key}` to be presen
exception error
ref paths are expected to be URI fragments, meaning they sho
exception error
Reference '{path}' not found.
exception error
unclosed tag at line {_CURRENT_LINE}
exception error mustache, prompt-template, parsing
empty tag at line {_CURRENT_LINE}
exception error mustache, prompt-template, parsing
unclosed set delimiter tag\nat line {_CURRENT_LINE}
exception error mustache, delimiters, prompt-template
Trying to close tag "{tag_key}"\nLooks like it was not opene
exception error mustache, sections, prompt-template
Trying to close tag "{tag_key}"\nlast open tag is "{last_sec
exception error mustache, sections, nesting
Unexpected EOF\nthe tag "{open_sections[-1]}" was never clos
exception error mustache, sections, eof, prompt-template
Expected a Pydantic model. Got {model}
exception error pydantic, type-error, schema
Remapping for fields starting with '_' or fields with a name
exception error pydantic, dynamic-model, field-names, reserved-names
When specifying __root__ no other fields should be provided.
exception error pydantic, root-model, dynamic-model
{max_depth=} exceeded, unable to combine dicts.
exception error usage, token-counting, recursion
Unknown value types: {types}. Only dict and int values are s
exception error usage, token-counting, type-mismatch
Exactly one argument in each of the following groups must be
exception error api-contract, arguments, validation
{response.text}
exception error http, api, rate-limit, provider
Could not import {module_name} python package. Please instal
exception error dependencies, import, environment
Expected {package} version to be < {lt_version}. Received {i
exception error versioning, dependencies, environment
Expected {package} version to be <= {lte_version}. Received
exception error versioning, dependencies, environment
Expected {package} version to be > {gt_version}. Received {i
exception error versioning, dependencies, environment
Expected {package} version to be >= {gte_version}. Received
exception error versioning, dependencies, environment
Found {field_name} supplied twice.
exception error configuration, pydantic, chat-model
Parameters {invalid_model_kwargs} should be specified explic
exception error configuration, pydantic, chat-model
{error_message}
exception error environment, secrets, configuration
Did not find {key}, please add an environment variable `{key
exception error environment, secrets, configuration
The number of metadatas must match the number of texts.Got {
exception error vector-store, validation, ingestion
`add_texts` has not been implemented for {self.__class__.__n
exception error vector-store, abstract-method, ingestion
delete method must be implemented by subclass.
exception error vector-store, abstract-method, deletion
{self.__class__.__name__} does not yet support get_by_ids.
exception error vector-store, abstract-method, retrieval
`add_documents` and `add_texts` has not been implemented for
exception error vector-store, abstract-method, ingestion
search_type of {search_type} not allowed. Expected search_ty
exception error vector-store, validation, retrieval
search_type of {search_type} not allowed. Valid values are:
exception error retriever, vector-store, validation, pydantic
`score_threshold` is not specified with a float value(0~1) i
exception error retriever, vector-store, validation, configuration
search_type of {self.search_type} not allowed.
exception error retriever, dispatch, subclassing
ids must be the same length as texts. Got {len(ids)} ids and
exception error validation, vectorstore, in-memory, ids, add-documents
numpy must be installed to use max_marginal_relevance_search
exception error dependencies, numpy, vectorstore, in-memory, mmr, optional-import
cosine_similarity requires numpy to be installed. Please ins
exception error dependencies, numpy, cosine-similarity, vectorstore, utils, optional-import
Number of columns in X and Y must be the same. X has shape {
exception error validation, numpy, cosine-similarity, embeddings, dimension-mismatch, vectorstore
NaN values found, please remove the NaN values and try again
exception error validation, numpy, cosine-similarity, nan, zero-vector, embeddings
maximal_marginal_relevance requires numpy to be installed. P
exception error dependencies, numpy, mmr, vectorstore, utils, optional-import