langchain-ai/langchain

Documented errors, page 2 of 4. Back to langchain-ai/langchain

Code / MessageTypeSeverityTags
Runnable has no last node
exception error runnable, runnable-parallel, graph, get-graph
{error_message}
exception error environment, secrets, configuration
Missing keys in config['configurable'] Expected keys are…
exception error runnable, message-history, config, session-id, valueerror
unsupported operand type(s) for +
exception error streaming, astream-log, type-error, python
Either data or path must be provided
validation error blob, documents, validation, pydantic
Expected Serializable, got
exception error serialization, dump, type-error
add_message is not implemented for this class. Please…
exception error chat-history, interface, not-implemented
Function contains a mix of Pydantic v1 and v2 annotations…
exception error tool, pydantic, pydantic-v1-migration, annotations
Unknown value types: . Only dict and int values are…
exception error usage, token-counting, type-mismatch
only supports sync methods.
exception error runnable, runnable-generator, sync-async-mismatch, streaming, asyncio
unclosed tag at line
exception error mustache, prompt-template, parsing
Expected exactly one result, but got
exception error openai-functions, output-parsing, configuration
y should be >= 0 and < number of lines
exception error graph, ascii-rendering, coordinates, valueerror
cleanup should be one of 'incremental', 'full'…
exception error indexing, cleanup, validation
Received disallowed comparator
exception error structured-query, self-query-retriever, comparator, vector-store
A pending deprecation cannot have a scheduled removal
exception error deprecation, langchain-core, api-misuse
Unexpected generation type
exception error generations, type-mismatch, custom-model, async
Cannot add incompatible types for key
exception error runnable, addabledict, streaming, type-mismatch
tags must be a list of the same length as prompts
exception error llm, batch, callbacks, validation
Tool definition for must include valid type annotations for…
exception error tool, base-tool, schema-annotation, subclassing
Expected a callable type for `func`.Instead got an…
exception error runnable, runnable-lambda, typeerror, validation
Expected version to be > . Received .
exception error versioning, dependencies, environment
If 'exception_key' is specified then input must be a…
exception error fallbacks, value-error, input-validation, langchain-core
The number of metadatas must match the number of texts.Got
exception error vector-store, validation, ingestion
Expected keys do not match parameter names of…
exception error runnable, message-history, config, factory-signature, valueerror
does not implement lazy_load()
exception error document-loader, interface, not-implemented
exceeded, unable to combine dicts.
exception error usage, token-counting, recursion
DNS resolution failed
exception error ssrf, dns, network, asyncio
Saving an example selector is not currently supported
exception error prompts, few-shot, serialization, valueerror
String tool inputs are not allowed when using tools with…
exception error tool, json-schema, input-validation, string-input
Cannot concatenate ToolMessageChunks with different names.
exception error streaming, tool-calls, message-chunks
search_type of not allowed. Valid values are
exception error retriever, vector-store, validation, pydantic
Unable to get string for blob
exception error blob, documents, type-error
Asked to cache, but no cache found at `langchain.cache`.
exception error cache, configuration, sync
Invalid template format
exception error prompts, template-format, valueerror, configuration, typo
Trying to load an object that doesn't implement…
exception error deserialization, serialization, not-implemented
Can't load chat prompt without template
exception error prompts, chat, loading, config
Loading prompt not supported
exception error prompts, loading, config, valueerror
Cannot stream from a generator function asynchronously.Use…
exception error runnable, runnable-lambda, streaming, sync-async-mismatch, asyncio
Failed to reach API while trying to render your graph…
exception error graph, mermaid, network, http, valueerror
Unsupported template file format
exception error prompts, loading, file-format, config
v2 stream finished without producing a message
exception error streaming, v2-protocol, empty-stream, chat-model
Could not import python package. Please install it with…
exception error dependencies, import, environment
Invalid variable name
exception error prompts, f-string, template-validation, valueerror, naming
time_at_least must be in the past
exception error record-manager, time-drift, validation
Cannot add templates of different formats
exception error prompts, prompt-template, valueerror, operator-overload
Cannot specify both alternative and alternative_import
exception error deprecation, langchain-core, api-misuse
Batch size must be a positive integer, got
exception error indexing, batching, validation
Parameters should be specified explicitly. Instead they…
exception error configuration, pydantic, chat-model
Loading images from 'path' has been removed as of 0.3.15…
exception error prompts, image, security, version-change, multimodal
SyncTextProjection requires a string delta
exception error streaming, typeerror, internal-api
left and right are of different types. Left type
exception error merge, utilities, type-error, configuration
unsupported operand type(s) for +
exception error messages, type-error, concatenation, langchain-core
Unsupported Pydantic schema
exception error openai-functions, pydantic, type-mismatch
Trying to close tag " "\nlast open tag is " "\nline
exception error mustache, sections, nesting
Unknown alternative
exception error configurable, config, value-error, runtime-config, langchain-core
Arg in docstring not found in function signature.
exception error tool, docstring, parse-docstring, validation
Could not extract Python code from Groq tool arguments…
exception error groq, tool-calls, code-interpreter, json-parsing
module ' . ' not found ( )
exception error imports, version-skew, langchain-core
AsyncTextProjection received a non-string delta
exception error streaming, async, typeerror, internal-api
Invalid placeholder template
exception error prompts, messages-placeholder, from-messages
Unable to get bytes for blob
exception error blob, documents, type-error
callbacks must be the same length as prompts
exception error callbacks, input-validation, batch, length-mismatch
Expected generate to return a ChatResult, but got
exception error fake-model, testing, type-mismatch, custom-model
Invalid namespace
exception critical security, deserialization, namespace, load
() got multiple values for argument
exception error deprecation, kwargs, api-migration
Func was provided as a coroutine function, but afunc was…
exception error runnable, runnable-lambda, typeerror, sync-async-mismatch
If 'exception_key' is specified then inputs must be…
exception error fallbacks, batch, value-error, input-validation, langchain-core
Invalid edge coordinates: start_x=
exception error graph, ascii-rendering, layout, rounding, valueerror
Tool input must be str or dict. If dict, dict arguments…
exception error langchain, tools, runnable, typing, schema
unclosed set delimiter tag\nat line
exception error mustache, delimiters, prompt-template
Both ` _path` and ` ` cannot be provided.
exception error prompts, loading, config, validation
Found duplicate subgraph
exception error graph, mermaid, subgraph, naming, valueerror
must be json or yaml
exception error prompts, serialization, file-format, core
SyncTextProjection requires a string final value
exception error streaming, typeerror, internal-api
SyncTextProjection received a non-string delta
exception error streaming, typeerror, internal-api
Unexpected arguments for placeholder message type. Expected…
exception error prompts, messages-placeholder, from-messages
Unrecognized content block at messages
exception error anthropic, openai, content-blocks, multimodal, images
Chat model tracing is not supported in for
exception warning langchain, tracing, chat-model, schema-format, not-implemented
`default` should not be passed to dumps
exception error serialization, dump, json, kwargs, security
If multiple pydantic schemas are provided then args_only…
exception error openai-functions, pydantic, configuration, validation
Got unsupported message type
exception error prompt-formatting, custom-messages, chat-history
Trying to close tag " "\nLooks like it was not opened.\nline
exception error mustache, sections, prompt-template
Invalid format specifier in f-string template. Nested…
exception error prompts, f-string, format-spec, template-validation, valueerror
Stream finished without producing a message
exception error streaming, empty-stream, chat-model, invariant
Unexpected EOF\nthe tag
exception error mustache, sections, eof, prompt-template
variable should be a list of base messages, got of type
exception error prompts, chat, messages, validation, core
Got input_variables=
validation error prompts, few-shot, input-variables, pydantic-validation
Cannot stream a coroutine function synchronously.Use…
exception error runnable, runnable-lambda, streaming, sync-async-mismatch, typeerror
Failed to reach API while trying to render your graph after…
exception error graph, mermaid, network, timeout, retry, valueerror
The delete operation to DocumentIndex failed.
exception error indexing, document-index, cleanup, delete
Expected str, BaseMessage, list[BaseMessage], or…
exception error runnable, message-history, input-validation, valueerror
Trying to deserialize something that cannot be deserialized…
exception error deserialization, legacy, namespace, migration
`add_texts` has not been implemented for
exception error vector-store, abstract-method, ingestion
empty tag at line
exception error mustache, prompt-template, parsing
Failed to resolve hostname
exception error ssrf, security, dns, network, validation
Runnable must have an object schema.
exception error langchain, tools, runnable, schema
The dispatcher API does not accept additional keyword…
exception error callbacks, events, api-contract, validation
Loading templates with
exception error prompts, security, jinja2, loading, code-execution
with_structured_output is not implemented for this model.
exception error structured-output, bind-tools, custom-model, not-implemented