mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-22 01:55:27 -04:00
404 NOT_FOUND for Gemini embedding models after backend retirement #952
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrunalSinagde on GitHub (Jan 28, 2026).
Self Checks
Dify version
1.7.2
Plugin version
Gemini embedding models -
embedding-001-gemini-embedding-exp-03-07-text-embedding-004Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Error appears for models such as:
embedding-001gemini-embedding-exp-03-07text-embedding-004Even though:
Steps to Reproduce
embedding-001-gemini-embedding-exp-03-07-text-embedding-004404 NOT_FOUND: Model not foundError:
404 NOT_FOUND message: 'Model is not found: model/model name'
✔️ Error log
No response
@dosubot[bot] commented on GitHub (Jan 28, 2026):
The 404 NOT_FOUND error for Gemini embedding models like
embedding-001,gemini-embedding-exp-03-07, andtext-embedding-004is happening because these models have likely been retired or are no longer supported by the Google Gemini backend. This is a systemic issue affecting multiple users and is not related to your API key, billing, or Dify configuration changes. The plugin and Dify core dynamically pass the model name to the backend, so if the backend no longer recognizes the model, you'll get this error—even if the model is still listed in the plugin config files source.To resolve this, you should switch to a currently supported Gemini model. You can check which models your API key supports by running:
source
For embedding tasks, consider using models like
gemini-1.5-pro,gemini-1.5-flash, orgemini-2.0-flashif they appear in your available models list. Make sure your Dify and Gemini plugin versions are up to date, and update your model configuration to use one of these supported models source.If you need Gemini text embeddings specifically, note that Dify currently only supports Gemini LLM models and not the Gemini Text Embeddings API (which includes the models you listed) source. Support for Gemini embedding models may be added in the future, so keep an eye on plugin updates and changelogs.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other