Failed to call the embedding model in the SiliconFlow plugin #20871

Open
opened 2026-02-21 20:09:31 -05:00 by yindo · 4 comments
Owner

Originally created by @DocKris on GitHub (Dec 8, 2025).

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.10.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

✔️ Expected Behavior

sucess

Actual Behavior

2025-12-09 01:22:21.345 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 404 Not Found"
2025-12-09 01:22:21.512 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: POST http://weaviate:8080/v1/schema "HTTP/1.1 200 OK"
2025-12-09 01:22:21.518 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK"
2025-12-09 01:22:21.522 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK"
2025-12-09 01:22:21.525 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK"
2025-12-09 01:22:21.529 INFO [BgDynamicBatchRate] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/nodes "HTTP/1.1 200 OK"
2025-12-09 01:22:21.660 INFO [ThreadPoolExecutor-0_2] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.664 ERROR [ThreadPoolExecutor-0_2] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.666 INFO [ThreadPoolExecutor-0_1] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.669 ERROR [ThreadPoolExecutor-0_1] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.671 INFO [ThreadPoolExecutor-0_4] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.673 ERROR [ThreadPoolExecutor-0_4] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.674 ERROR [ThreadPoolExecutor-0_1] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.676 INFO [ThreadPoolExecutor-0_0] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.678 ERROR [ThreadPoolExecutor-0_0] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.678 INFO [ThreadPoolExecutor-0_8] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.680 ERROR [ThreadPoolExecutor-0_8] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.680 ERROR [ThreadPoolExecutor-0_2] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.682 ERROR [ThreadPoolExecutor-0_8] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.683 INFO [ThreadPoolExecutor-0_3] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.684 ERROR [ThreadPoolExecutor-0_3] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.685 ERROR [ThreadPoolExecutor-0_0] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.686 INFO [ThreadPoolExecutor-0_9] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.687 ERROR [ThreadPoolExecutor-0_9] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.688 ERROR [ThreadPoolExecutor-0_4] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.690 ERROR [ThreadPoolExecutor-0_9] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.691 ERROR [ThreadPoolExecutor-0_3] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.692 INFO [ThreadPoolExecutor-0_6] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.726 INFO [ThreadPoolExecutor-0_5] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.728 ERROR [ThreadPoolExecutor-0_5] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.729 ERROR [ThreadPoolExecutor-0_5] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:21.853 INFO [ThreadPoolExecutor-0_6] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:21.854 ERROR [ThreadPoolExecutor-0_6] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:21.856 ERROR [ThreadPoolExecutor-0_6] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:22.532 INFO [BgDynamicBatchRate] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/nodes "HTTP/1.1 200 OK"
2025-12-09 01:22:22.571 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:204] - Embedding 6 texts took 4.805705308914185 s
2025-12-09 01:22:22.572 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:192] - start embedding 6 texts 1765243342.5724225
2025-12-09 01:22:22.572 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:198] - Processing batch 1/1005 (6 texts)
2025-12-09 01:22:22.725 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK"
2025-12-09 01:22:22.729 ERROR [ThreadPoolExecutor-0_7] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\"args\":{\"description\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"},\"error_type\":\"InvokeBadRequestError\",\"message\":\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\"}","error_type":"PluginInvokeError","args":null}', 'data': None}
2025-12-09 01:22:22.730 ERROR [ThreadPoolExecutor-0_7] [cached_embedding.py:102] - Failed to embed documents
Traceback (most recent call last):
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
2025-12-09 01:22:22.732 ERROR [Dummy-11] [indexing_runner.py:54] - consume document failed
Traceback (most recent call last):
File "/app/api/core/indexing_runner.py", line 99, in run
self._load(
File "/app/api/core/indexing_runner.py", line 591, in _load
tokens += future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/indexing_runner.py", line 650, in _process_chunk
index_processor.load(dataset, chunk_documents, with_keywords=False)
File "/app/api/core/rag/index_processor/processor/parent_child_index_processor.py", line 116, in load
vector.create(formatted_child_documents)
File "/app/api/core/rag/datasource/vdb/vector_factory.py", line 199, in create
batch_embeddings = self._embeddings.embed_documents([document.page_content for document in batch])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/rag/embedding/cached_embedding.py", line 103, in embed_documents
raise ex
File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents
embedding_result = self._model_instance.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding
self._round_robin_invoke(
File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke
return function(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke
raise self._transform_invoke_error(e)
File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke
return plugin_model_manager.invoke_text_embedding(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding
for resp in response:
^^^^^^^^
File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream
self._handle_plugin_daemon_error(error.error_type, error.message)
File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error
raise InvokeBadRequestError(description=args.get("description"))
core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings

Originally created by @DocKris on GitHub (Dec 8, 2025). ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.10.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1916" height="915" alt="Image" src="https://github.com/user-attachments/assets/3b1f4a11-d5ae-47c0-8b44-3ea35c52549d" /> ### ✔️ Expected Behavior sucess ### ❌ Actual Behavior 2025-12-09 01:22:21.345 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 404 Not Found" 2025-12-09 01:22:21.512 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: POST http://weaviate:8080/v1/schema "HTTP/1.1 200 OK" 2025-12-09 01:22:21.518 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK" 2025-12-09 01:22:21.522 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK" 2025-12-09 01:22:21.525 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/schema/Vector_index_52ebb24f_d8df_4d79_abc6_6705e6f02b27_Node "HTTP/1.1 200 OK" 2025-12-09 01:22:21.529 INFO [BgDynamicBatchRate] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/nodes "HTTP/1.1 200 OK" 2025-12-09 01:22:21.660 INFO [ThreadPoolExecutor-0_2] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.664 ERROR [ThreadPoolExecutor-0_2] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.666 INFO [ThreadPoolExecutor-0_1] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.669 ERROR [ThreadPoolExecutor-0_1] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.671 INFO [ThreadPoolExecutor-0_4] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.673 ERROR [ThreadPoolExecutor-0_4] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.674 ERROR [ThreadPoolExecutor-0_1] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.676 INFO [ThreadPoolExecutor-0_0] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.678 ERROR [ThreadPoolExecutor-0_0] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.678 INFO [ThreadPoolExecutor-0_8] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.680 ERROR [ThreadPoolExecutor-0_8] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.680 ERROR [ThreadPoolExecutor-0_2] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.682 ERROR [ThreadPoolExecutor-0_8] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.683 INFO [ThreadPoolExecutor-0_3] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.684 ERROR [ThreadPoolExecutor-0_3] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.685 ERROR [ThreadPoolExecutor-0_0] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.686 INFO [ThreadPoolExecutor-0_9] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.687 ERROR [ThreadPoolExecutor-0_9] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.688 ERROR [ThreadPoolExecutor-0_4] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.690 ERROR [ThreadPoolExecutor-0_9] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.691 ERROR [ThreadPoolExecutor-0_3] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.692 INFO [ThreadPoolExecutor-0_6] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.726 INFO [ThreadPoolExecutor-0_5] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.728 ERROR [ThreadPoolExecutor-0_5] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.729 ERROR [ThreadPoolExecutor-0_5] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:21.853 INFO [ThreadPoolExecutor-0_6] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:21.854 ERROR [ThreadPoolExecutor-0_6] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:21.856 ERROR [ThreadPoolExecutor-0_6] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:22.532 INFO [BgDynamicBatchRate] [_client.py:1038] - HTTP Request: GET http://weaviate:8080/v1/nodes "HTTP/1.1 200 OK" 2025-12-09 01:22:22.571 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:204] - Embedding 6 texts took 4.805705308914185 s 2025-12-09 01:22:22.572 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:192] - start embedding 6 texts 1765243342.5724225 2025-12-09 01:22:22.572 INFO [ThreadPoolExecutor-0_7] [vector_factory.py:198] - Processing batch 1/1005 (6 texts) 2025-12-09 01:22:22.725 INFO [ThreadPoolExecutor-0_7] [_client.py:1038] - HTTP Request: POST http://plugin_daemon:5002/plugin/532556bc-bc6f-4125-84f2-2d32e7a7336b/dispatch/text_embedding/invoke "HTTP/1.1 200 OK" 2025-12-09 01:22:22.729 ERROR [ThreadPoolExecutor-0_7] [base.py:277] - Error in stream response for plugin {'code': -500, 'message': '{"message":"{\\"args\\":{\\"description\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"},\\"error_type\\":\\"InvokeBadRequestError\\",\\"message\\":\\"[models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings\\"}","error_type":"PluginInvokeError","args":null}', 'data': None} 2025-12-09 01:22:22.730 ERROR [ThreadPoolExecutor-0_7] [cached_embedding.py:102] - Failed to embed documents Traceback (most recent call last): File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings 2025-12-09 01:22:22.732 ERROR [Dummy-11] [indexing_runner.py:54] - consume document failed Traceback (most recent call last): File "/app/api/core/indexing_runner.py", line 99, in run self._load( File "/app/api/core/indexing_runner.py", line 591, in _load tokens += future.result() ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 456, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 59, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/indexing_runner.py", line 650, in _process_chunk index_processor.load(dataset, chunk_documents, with_keywords=False) File "/app/api/core/rag/index_processor/processor/parent_child_index_processor.py", line 116, in load vector.create(formatted_child_documents) File "/app/api/core/rag/datasource/vdb/vector_factory.py", line 199, in create batch_embeddings = self._embeddings.embed_documents([document.page_content for document in batch]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/rag/embedding/cached_embedding.py", line 103, in embed_documents raise ex File "/app/api/core/rag/embedding/cached_embedding.py", line 65, in embed_documents embedding_result = self._model_instance.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_manager.py", line 216, in invoke_text_embedding self._round_robin_invoke( File "/app/api/core/model_manager.py", line 355, in _round_robin_invoke return function(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 52, in invoke raise self._transform_invoke_error(e) File "/app/api/core/model_runtime/model_providers/__base/text_embedding_model.py", line 41, in invoke return plugin_model_manager.invoke_text_embedding( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/api/core/plugin/impl/model.py", line 273, in invoke_text_embedding for resp in response: ^^^^^^^^ File "/app/api/core/plugin/impl/base.py", line 278, in _request_with_plugin_daemon_response_stream self._handle_plugin_daemon_error(error.error_type, error.message) File "/app/api/core/plugin/impl/base.py", line 302, in _handle_plugin_daemon_error raise InvokeBadRequestError(description=args.get("description")) core.model_runtime.errors.invoke.InvokeBadRequestError: [models] Bad Request Error, 403 Client Error: Forbidden for url: https://api.siliconflow.cn/v1/embeddings
yindo added the 👻 feat:ragstale labels 2026-02-21 20:09:31 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 8, 2025):

The 403 Forbidden error from the SiliconFlow embedding API almost always means an authentication or permission problem with your API key, or a network/proxy misconfiguration in Docker. Here’s a focused checklist to resolve it:

  • Double-check your SiliconFlow API key: Make sure it’s correct, active, and has the required permissions. You can get or manage your key at https://cloud.siliconflow.cn/account/ak and it must be entered exactly as provided in the Dify provider config. The key is sent as a Bearer token in the Authorization header for all API calls—if it’s missing, expired, or lacks permissions, you’ll get a 403 error. Reference

  • Make sure your Docker environment allows outbound connections to https://api.siliconflow.cn/v1/. If you’re using a proxy (like the SSRF proxy), check that the correct ports are allowed and that SANDBOX_ENABLE_NETWORK is set to true. Misconfigured proxies or firewalls can also cause 403 errors. Reference

  • If you recently updated your API key or Dify version, try removing and re-adding the SiliconFlow provider and models. Some users have found that adding models one by one (instead of bulk configuration) works around 403 errors during setup. Reference

  • There have been fixes for SiliconFlow integration merged in recent Dify releases (see PR #11847). If you’re not on the latest version, consider updating.

  • If you’re sure your API key is valid (e.g., it works with curl), but Dify still fails, check for network issues inside your Docker containers or try restarting the relevant containers after updating configuration.

If you’ve checked all of the above and still see 403 errors, please share whether the key works outside Dify (e.g., with curl), and any proxy or network restrictions in your environment. This will help narrow down the cause.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

@dosubot[bot] commented on GitHub (Dec 8, 2025): <!-- Answer --> The 403 Forbidden error from the SiliconFlow embedding API almost always means an authentication or permission problem with your API key, or a network/proxy misconfiguration in Docker. Here’s a focused checklist to resolve it: - Double-check your SiliconFlow API key: Make sure it’s correct, active, and has the required permissions. You can get or manage your key at [https://cloud.siliconflow.cn/account/ak](https://cloud.siliconflow.cn/account/ak) and it must be entered exactly as provided in the Dify provider config. The key is sent as a Bearer token in the Authorization header for all API calls—if it’s missing, expired, or lacks permissions, you’ll get a 403 error. [Reference](https://github.com/langgenius/dify-official-plugins/blob/f0cf5937b1df8ab475397933895dc9193e9cf5ad/tools/siliconflow/provider/siliconflow.py#L7-L12) - Make sure your Docker environment allows outbound connections to https://api.siliconflow.cn/v1/. If you’re using a proxy (like the SSRF proxy), check that the correct ports are allowed and that SANDBOX_ENABLE_NETWORK is set to true. Misconfigured proxies or firewalls can also cause 403 errors. [Reference](https://github.com/langgenius/dify/issues/13993) - If you recently updated your API key or Dify version, try removing and re-adding the SiliconFlow provider and models. Some users have found that adding models one by one (instead of bulk configuration) works around 403 errors during setup. [Reference](https://github.com/langgenius/dify/issues/11844) - There have been fixes for SiliconFlow integration merged in recent Dify releases (see [PR #11847](https://github.com/langgenius/dify/pull/11847)). If you’re not on the latest version, consider updating. - If you’re sure your API key is valid (e.g., it works with curl), but Dify still fails, check for network issues inside your Docker containers or try restarting the relevant containers after updating configuration. If you’ve checked all of the above and still see 403 errors, please share whether the key works outside Dify (e.g., with curl), and any proxy or network restrictions in your environment. This will help narrow down the cause. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/14a8d0b3-43b7-4352-aafe-c20b9fd17a2b?feedback_type=other)</sup> [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=The%20403%20Forbidden%20error%20from%20the%20SiliconFlow%20embedding%20API%20almost%20always%20means%20an%20authentication%20or%20permission%20problem%20with%20your%20API%20key%2C%20or%20a%20network/proxy%20misconfiguration%20in%20Docker.%20Here%E2%80%99s%20a%20focused%20checklist%20to%20resolve%20it%3A%0A%0A-%20Double-check%20your%20SiliconFlow%20API%20key%3A%20Make%20sure%20it%E2%80%99s%20correct%2C%20active%2C%20and%20has%20the%20required%20permissions.%20You%20can%20get%20or%20manage%20your%20key%20at%20%5Bhttps%3A//cloud.siliconflow.cn/account/ak%5D%28https%3A//cloud.siliconflow.cn/account/ak%29%20and%20it%20must%20be%20entered%20exactly%20as%20provided%20in%20the%20Dify%20provider%20config.%20The%20key%20is%20sent%20as%20a%20Bearer%20token%20in%20the%20Authorization%20header%20for%20all%20API%20calls%E2%80%94if%20it%E2%80%99s%20missing%2C%20expired%2C%20or%20lacks%20permissions%2C%20you%E2%80%99ll%20get%20a%20403%20error.%20%5BReference%5D%28https%3A//github.com/langgenius/dify-official-plugins/blob/f0cf5937b1df8ab475397933895dc9193e9cf5ad/tools/siliconflow/provider/siliconflow.py%23L7-L12%29%0A%0A-%20Make%20sure%20your%20Docker%20environment%20allows%20outbound%20connections%20to%20https%3A//api.siliconflow.cn/v1/.%20If%20you%E2%80%99re%20using%20a%20proxy%20%28like%20the%20SSRF%20proxy%29%2C%20check%20that%20the%20correct%20ports%20are%20allowed%20and%20that%20SANDBOX_ENABLE_NETWORK%20is%20set%20to%20true.%20Misconfigured%20proxies%20or%20firewalls%20can%20also%20cause%20403%20errors.%20%5BReference%5D%28https%3A//github.com/langgenius/dify/issues/13993%29%0A%0A-%20If%20you%20recently%20updated%20your%20API%20key%20or%20Dify%20version%2C%20try%20removing%20and%20re-adding%20the%20SiliconFlow%20provider%20and%20models.%20Some%20users%20have%20found%20that%20adding%20models%20one%20by%20one%20%28instead%20of%20bulk%20configuration%29%20works%20around%20403%20errors%20during%20setup.%20%5BReference%5D%28https%3A//github.com/langgenius/dify/issues/11844%29%0A%0A-%20There%20have%20been%20fixes%20for%20SiliconFlow%20integration%20merged%20in%20recent%20Dify%20releases%20%28see%20%5BPR%20%2311847%5D%28https%3A//github.com/langgenius/dify/pull/11847%29%29.%20If%20you%E2%80%99re%20not%20on%20the%20latest%20version%2C%20consider%20updating.%0A%0A-%20If%20you%E2%80%99re%20sure%20your%20API%20key%20is%20valid%20%28e.g.%2C%20it%20works%20with%20curl%29%2C%20but%20Dify%20still%20fails%2C%20check%20for%20network%20issues%20inside%20your%20Docker%20containers%20or%20try%20restarting%20the%20relevant%20containers%20after%20updating%20configuration.%0A%0AIf%20you%E2%80%99ve%20checked%20all%20of%20the%20above%20and%20still%20see%20403%20errors%2C%20please%20share%20whether%20the%20key%20works%20outside%20Dify%20%28e.g.%2C%20with%20curl%29%2C%20and%20any%20proxy%20or%20network%20restrictions%20in%20your%20environment.%20This%20will%20help%20narrow%20down%20the%20cause.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/29300)
Author
Owner

@pigracing commented on GitHub (Dec 15, 2025):

i have the same error,the same key use llm to chat is ok, but can not use embeding,the version from 1.10 to 1.11.1 with the same error

@pigracing commented on GitHub (Dec 15, 2025): i have the same error,the same key use llm to chat is ok, but can not use embeding,the version from 1.10 to 1.11.1 with the same error
Author
Owner

@terwer commented on GitHub (Jan 12, 2026):

i have the same error,the same key use llm to chat is ok, but can not use embeding

@terwer commented on GitHub (Jan 12, 2026): i have the same error,the same key use llm to chat is ok, but can not use embeding
Author
Owner

@dosubot[bot] commented on GitHub (Feb 12, 2026):

Hi, @DocKris. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that the SiliconFlow plugin fails to call the embedding model on a self-hosted Dify v1.10.1 Docker setup.
  • Initial errors were 404, followed by 403 Forbidden, likely related to API key authentication or network issues.
  • Suggestions included verifying API key validity and permissions, ensuring Docker allows outbound connections, and updating Dify.
  • Other users confirmed the same issue where the key works for LLM chat but not for embedding calls.
  • The root cause appears to be permission or network misconfigurations, but no resolution has been confirmed.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of Dify by commenting here.
  • If I don’t hear back within 15 days, I will automatically close this issue.

Thanks for your understanding and contribution!

@dosubot[bot] commented on GitHub (Feb 12, 2026): Hi, @DocKris. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that the SiliconFlow plugin fails to call the embedding model on a self-hosted Dify v1.10.1 Docker setup. - Initial errors were 404, followed by 403 Forbidden, likely related to API key authentication or network issues. - Suggestions included verifying API key validity and permissions, ensuring Docker allows outbound connections, and updating Dify. - Other users confirmed the same issue where the key works for LLM chat but not for embedding calls. - The root cause appears to be permission or network misconfigurations, but no resolution has been confirmed. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of Dify by commenting here. - If I don’t hear back within 15 days, I will automatically close this issue. Thanks for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#20871