Ollama plugin - embedding model credentials_validate Error #669

Closed
opened 2026-02-16 10:20:07 -05:00 by yindo · 1 comment
Owner

Originally created by @huangxiang518 on GitHub (Sep 23, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues Dify issues & Dify Official Plugins, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.9.0

Plugin version

0.07

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

The originally set ollama embedding model cannot be used
Even resetting cannot be successful.
Ollama [Windows Version 0.12.0(Lastest)] + dengcao/Qwen3-Embedding-0.6B:F16 [Embedding Model]

the Error Report is here:
core.model_runtime.errors.validate.CredentialsValidateFailedError: An error occurred during credentials validation: status code 500: {"error":"this model does not support embeddings"}

I Found the Error ,Maybe is the endpoint [api/embed]

from inside your Dify Docker container, run a curl command:

curl -H 'Content-Type: application/json' http://192.168.12.166:11434/api/embed -d '{"input": ["test"], "model": "dengcao/Qwen3-Embedding-0.6B:F16"}'

{"error":"this model does not support embeddings"}#

curl -H 'Content-Type: application/json' http://192.168.12.166:11434/api/embeddings -d '{"input": ["test"], "model": "dengcao/Qwen3-Embedding-0.6B:F16"}'

{"embedding":[]}#

✔️ Error log

No response

Originally created by @huangxiang518 on GitHub (Sep 23, 2025). ### Self Checks - [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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.9.0 ### Plugin version 0.07 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce The originally set ollama embedding model cannot be used Even resetting cannot be successful. Ollama [Windows Version 0.12.0(Lastest)] + dengcao/Qwen3-Embedding-0.6B:F16 [Embedding Model] the Error Report is here: core.model_runtime.errors.validate.CredentialsValidateFailedError: An error occurred during credentials validation: status code 500: {"error":"this model does not support embeddings"} I Found the Error ,Maybe is the endpoint [api/embed] from inside your Dify Docker container, run a curl command: # curl -H 'Content-Type: application/json' http://192.168.12.166:11434/api/embed -d '{"input": ["test"], "model": "dengcao/Qwen3-Embedding-0.6B:F16"}' {"error":"this model does not support embeddings"}# # curl -H 'Content-Type: application/json' http://192.168.12.166:11434/api/embeddings -d '{"input": ["test"], "model": "dengcao/Qwen3-Embedding-0.6B:F16"}' {"embedding":[]}# ### ✔️ Error log _No response_
yindo added the bug label 2026-02-16 10:20:07 -05:00
yindo closed this issue 2026-02-16 10:20:07 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 23, 2025):

The error occurs because the dengcao/Qwen3-Embedding-0.6B:F16 model either isn't configured to support embeddings in Ollama or isn't compatible with Ollama's embedding implementation. The /api/embed endpoint returns "this model does not support embeddings" and /api/embeddings returns an empty array, confirming the model isn't working for embeddings in your setup.

To resolve this, try a different embedding model that is verified to work with Ollama, double-check the model's compatibility with Ollama's embedding API, and review any special configuration requirements for the model. Some users have also resolved similar issues by upgrading the Ollama model and ensuring the service URL is accessible from Docker (e.g., using host.docker.internal instead of localhost) 1 2.

Also, be aware that model names containing a '/' can sometimes cause issues in the plugin, and embedding support can vary across Ollama versions 3. If you continue to see this error with other models, check the Ollama documentation or try models known to work with embeddings in your environment.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Join Discord Share on X

@dosubot[bot] commented on GitHub (Sep 23, 2025): <!-- Answer --> The error occurs because the dengcao/Qwen3-Embedding-0.6B:F16 model either isn't configured to support embeddings in Ollama or isn't compatible with Ollama's embedding implementation. The /api/embed endpoint returns "this model does not support embeddings" and /api/embeddings returns an empty array, confirming the model isn't working for embeddings in your setup. To resolve this, try a different embedding model that is verified to work with Ollama, double-check the model's compatibility with Ollama's embedding API, and review any special configuration requirements for the model. Some users have also resolved similar issues by upgrading the Ollama model and ensuring the service URL is accessible from Docker (e.g., using host.docker.internal instead of localhost) [1](https://github.com/langgenius/dify/issues/26116) [2](https://github.com/langgenius/dify-official-plugins/issues/1213). Also, be aware that model names containing a '/' can sometimes cause issues in the plugin, and embedding support can vary across Ollama versions [3](https://github.com/langgenius/dify-official-plugins/issues/1214). If you continue to see this error with other models, check the Ollama documentation or try models known to work with embeddings in your environment. <!-- 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/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/9fa2c78f-057f-4c7f-bdb4-2482e9a7a948?feedback_type=other)</sup>&nbsp;&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-official-plugins/issues/1761)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#669