Self-deployed v1.11.4, using the Tongyi Qianwen online large model, can use a vector model to build a knowledge base, but when performing recall tests, the following error was reported:
2026-03-09 19:14:39,223 ERROR \[retrieval_service.py:315\] Query call with protocol GRPC search failed with message could not find class Vector_index_d337eab3_9016_487b_bebd_0020b85e5a85_Node in schema.
Traceback (most recent call last):
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/connect/v4.py”, line 985, in grpc_search
res = \_Retry(4).with_exponential_backoff(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/retry.py”, line 54, in with_exponential_backoff
raise e
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/retry.py”, line 50, in with_exponential_backoff
return f(\args, \\*kwargs)
^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/grpc/\_channel.py”, line 1166, in call
return \_end_unary_response_blocking(state, call, False, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/grpc/\_channel.py”, line 996, in \_end_unary_response_blocking
raise \_InactiveRpcError(state) # pytype: disable=not-instantiable
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
grpc.\_channel.\_InactiveRpcError: <\_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = “could not find class Vector_index_d337eab3_9016_487b_bebd_0020b85e5a85_Node in schema”
debug_error_string = “UNKNOWN:Error received from peer {grpc_message:“could not find class Vector_index_d337eab3_9016_487b_bebd_0020b85e5a85_Node in schema”, grpc_status:2}”
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/dify/api/core/rag/datasource/retrieval_service.py”, line 249, in embedding_search
vector.search_by_vector(
File “/dify/api/core/rag/datasource/vdb/vector_factory.py”, line 273, in search_by_vector
return self.\_vector_processor.search_by_vector(query_vector, \*\*kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py”, line 368, in search_by_vector
res = col.query.near_vector(
^^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/collections/queries/near_vector/query/executor.py”, line 391, in near_vector
return executor.execute(
^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/connect/executor.py”, line 99, in execute
return cast(T, exception_callback(e))
^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/connect/executor.py”, line 38, in raise_exception
raise e
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/connect/executor.py”, line 80, in execute
call = method(\args, \\*kwargs)
^^^^^^^^^^^^^^^^^^^^^^^
File “/dify/api/.venv/lib64/python3.12/site-packages/weaviate/connect/v4.py”, line 998, in grpc_search
raise WeaviateQueryError(str(error.details()), “GRPC search”) # pyright: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
weaviate.exceptions.WeaviateQueryError: Query call with protocol GRPC search failed with message could not find class Vector_index_d337eab3_9016_487b_bebd_0020b85e5a85_Node in schema.