spring-projects/spring-ai

Documented errors, page 3 of 6. Back to spring-projects/spring-ai

Code / MessageTypeSeverityTags
FilterExpressionParseException (message aggregated from…
exception error vector-store, filter-expression, parse-error, antlr, spring-ai
instantiation failed
exception error reflection, mcp, instantiation
Method must return ElicitResult or StructuredElicitResult:
validation error java, mcp, elicitation, return-type, unsupported-operation
Error invoking sampling method
exception error reflection, invocation-failure, sampling
Streaming chat completion is not supported for this model:
exception error bedrock, streaming, unsupported-operation
Field type not supported
exception error redis, filter-expression, field-type, vector-store, spring-ai
Method must have exactly 1 parameter…
validation error java, mcp, method-signature, validation
No sampling methods found
console warning mcp, annotation-scanning, sampling, empty-specifications
Tool name ' ' may not be compatible with some LLMs (e.g.…
console warning tool-calling, naming, validation
Currently only methods with a single CreateMessageRequest…
exception error java, mcp, sampling, internal, reflection
ToolContext is required by the method as an argument
validation error tool-context, validation, spring-ai, tools
Failed to parse tool arguments JSON: + argumentsJson
console warning anthropic, json, tool-calls, parse-error, spring-ai
Resource URI resolves outside the cache directory:
validation error security, path-traversal, cache, validation
Unsupported Async exchange type
validation error mcp, stateless, sync-async-mismatch, exchange-type, illegal-argument
streaming is not supported
exception error streaming, unsupported-operation, chat-model
Unreasonable number of lines
exception error pdf, layout, memory-protection, document-reader
Cannot safely convert numeric value
validation error mcp, numeric-conversion, argument-binding, overflow
Currently only one tool call is supported per message!
exception error deepseek, streaming, tool-calling, illegal-state
Expected a List value for
exception error vector-store, filter-expression, aws-s3, type-mismatch
Failed to delete documents by filter:
exception error qdrant, delete, vector-store, consistency, spring-ai
Mono return type must be Mono
validation error mcp, reactive, return-type, progress-notification
Single parameter must be of type ElicitRequest:
validation error java, mcp, elicitation, method-signature, illegal-argument
The region ' ' is not a valid region!
exception error aws, bedrock, region, configuration
Method must return either ReadResourceResult, List
validation error mcp, java, async, return-type
Only outputType or outputJsonSchema can be set, not both.
validation error builder, configuration, structured-output, spring-ai
Either vectorStore or jedisClient must be provided
exception error redis, semantic-cache, builder, configuration, spring-ai
Failed to obtain the embedding dimensions from the…
console warning embedding, dimensions, fallback, schema
Invalid JSON format for the response:
exception error bedrock, jackson, deserialization, aws
Similarity threshold filtering requires all vectors to be…
exception error oracle, vector-store, similarity-threshold, normalization
Unsupported exchange type
validation error mcp, exchange-type, null-argument, illegal-argument
No tool methods found in the provided tool objects
console warning mcp, annotation-scanning, tools, empty-specifications
Sync prompt method must not declare parameter of type
validation error mcp, sync-async-mismatch, method-validation, illegal-argument
Failed to extract record field types
exception error reflection, records, schema, spring-ai
Multiple sampling methods found
console warning mcp, annotation-scanning, sampling, duplicate-handlers
Sampling not supported by the client:
exception error mcp, sampling, illegal-state, client-capability
Failed to delete document from index
exception error lucene, io, delete, index
Failed to parse JSON schema
exception error json, schema, structured-output, spring-ai
Invalid filename for file '': ''
exception error path-validation, io, filename
Method can have at most 3 input parameters (excluding…
validation error mcp, validation, parameter-count, completion
Unsupported similarity
exception error elasticsearch, configuration, similarity, enum, vector-store
Failed to create index:
exception error redis, redisearch, index-creation, schema
Index not found
exception error elasticsearch, vector-store, index, configuration, startup
pdf containing circular reference or unreasonable nesting…
exception error pdf, circular-reference, outline, document-reader
Prefix or toolName cannot be null or empty
validation error mcp, argument-validation, tool-naming
Unknown ResponseFormat type:
validation error api, enum, deserialization, mistral
Both API Key and Vertex AI config detected. Defaulting to…
console warning configuration, google-genai, credentials, ambiguity
Delete operation failed
exception error opensearch, vector-store, delete, bulk-request
Error serializing documentMap to JSON.
exception error jackson, serialization, vector-store
Failed to add document to index
exception error lucene, index, io, write-failed
Invalid filename for file '': absolute path ''
exception error java, spring-ai, anthropic, skills, path-traversal, security
Method must have parameters for all URI variables. Expected
validation error mcp, java, validation, uri-template, parameter-count
Error invoking progress method
exception error mcp, progress-notification, reflection-invocation, wrapped-exception
Failed to create cached content
exception error google-genai, api, caching, wrapped-exception
Failed to initialize ChromaVectorStore
exception error chroma, initialization, vector-store, http, state-exception
Failed to decode Base64 data, storing as string
console warning redis, base64, deserialization, media
Index does not exist in table
exception error cassandra, index, resource-not-found, vector-store, initialization
Method must return either ReadResourceResult, List
validation error mcp, return-type, method-validation, illegal-argument
Media URL response exceeds maximum allowed size of bytes:
exception error security, size-limit, payload, network, bedrock
Method must return a Mono
validation error mcp, reactor, prompt-method, return-type
Notification must not be null
validation error mcp, null-check, validation, java
Missing fields
exception error mariadb, schema-validation, vector-store, columns
Not allowed filter identifier name: . Consider adding it to…
exception error vector-store, weaviate, filter-expression, whitelist, identifier-validation
Unsupported value type:
exception error bedrock, type-mismatch, conversion, document
ai.onnxruntime.OrtException
exception error onnx, embedding, inference, native-library
Failed to delete some documents
exception error redis, vector-store, delete, key-not-found
mutate() must be overridden to return the most concrete…
exception error unsupported-operation, advisor-chain, spring-ai
No moderation response returned
console warning openai, moderation, null-response
Skipping add for session
console warning tool-search, lucene, concurrency, race-condition
Stateless servers doesn't support bidirectional parameters…
console warning spring-ai, mcp, stateless-server, bidirectional, request-context
Error while validating table schema, Table
exception error mariadb, schema-validation, information-schema, vector-store
Failed to invoke createIndex() method
exception error mongodb, reflection, index, spring-data
java.io.IOException
exception critical java, google-vertex-ai, io, client-initialization
Conversion from JSON failed
exception error tool-calling, json, deserialization
Expected Value but got:
validation error bedrock, filter-expression, type-mismatch, aws
HTTP
exception warning http, retry, transient, rate-limit
Incomplete Google GenAI configuration: Provide 'api-key'…
validation error google-genai, gemini, missing-config
Invalid Image content type:
exception error type-mismatch, media, bedrock
No chat completion returned for prompt: + prompt
console warning deepseek, chat-completion, null-response, http
The 'IN' operator should have been transformed into chain…
exception error vector-store, filter-expression, weaviate, in-operator, unsupported-operation
Asynchronous progress methods must return void or Mono
validation error mcp, async, return-type, progress-notification
Documents are ingested via data source sync, not direct add.
exception warning bedrock, ingestion, unsupported-operation, aws
error when registering Bedrock types
console warning bedrock, graalvm, native-image, aot, runtime-hints
Found MCP Clients. The MCP Client tools will not be exposed…
console warning mcp, spring-boot, auto-configuration, tools
ClassNotFoundException (wrapped RuntimeException)
exception error classpath, reflection, graalvm, native-image, spring-ai
Unknown model provider:
exception error configuration, enum, invalid-argument
Actual vector dimensions is , required vector dimensions is
exception error pgvector, vector-dimensions, embedding-model
Method is annotated with @Tool but returns a functional…
console warning tool-calling, unsupported, annotations
Session + sessionRepresentation + was not found on the MCP…
console error mcp, session, http, reconnect
Unsupported message type: + conversation.message().type()
console error mongodb, chat-memory, illegal-state, data-migration
Database product name is null or empty, defaulting to…
console warning jdbc, dialect, database-metadata, fallback
Unsupported expression type
exception error neo4j, filter-expression, invariant
Anthropic cache breakpoint limit (4) reached. Additional…
console warning anthropic, prompt-caching, cache-control, limits, spring-ai
argumentType is required
validation error spring-ai, builder, missing-argument, configuration
Both or none of `maxIdleConnections` and…
exception error configuration, builder, connection-pool
Could not create index
exception error redis, vector-store, index-creation, redismodule
Document ID management is disabled. Delete operations may…
console warning opensearch, delete, document-id, configuration
Error reading JSON resource
exception error json, io, reader
Failed to read resource
exception error io, resource, template
This is a utility class and cannot be instantiated
exception warning spring-ai, utility-class, misuse, instantiation
Unsupported value type for NIN condition. Only supports…
exception error qdrant, filter-expression, vector-store, spring-ai