# Discourse Gemini's embedding-001 调用失败

**URL:** <https://www.isharkfly.com/t/discourse-geminis-embedding-001/18634>\
**Category:** Discourse\
**Tags:** discourse\
**Created:** [February 7, 2026, 7:17pm UTC](https://www.isharkfly.com/t/discourse-geminis-embedding-001/18634 "2026-02-07T19:17:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [February 7, 2026, 7:17pm UTC](https://www.isharkfly.com/t/discourse-geminis-embedding-001/18634/1 "2026-02-07T19:17:32Z")

</div>

系统返回错误：

```auto
Trying to contact the model returned this error: { "error": { "code": 404, "message": "models/embedding-001 is not found for API version v1beta, or is not supported for embedContent. Call ListModels to see the list of available models and their supported methods.", "status": "NOT_FOUND" } }

```

 ![2026-02-07_13-55-47](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/6/9/69c41c7c3c33153f28020f30867afde219ac3734.png)

到官方网站上提交了一个 bug 报告：[Discourse Gemini’s embedding-001 Call error - Support - Discourse Meta](https://meta.discourse.org/t/discourse-gemini-s-embedding-001-call-error/395447)

出行这个问题的配置位置为 AI 部分：

 ![2026-02-07_14-19-55](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/1/3/133901a301ad883a8bb34f7d92df94d07e8bc682.jpeg)

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [February 7, 2026, 8:11pm UTC](https://www.isharkfly.com/t/discourse-geminis-embedding-001/18634/2 "2026-02-07T20:11:08Z")

</div>

官方测了，貌似没有问题。

但我们这边今天开始出现这个问题。

 ![2026-02-07_15-07-09](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/9/4/942d15ff201e46af88bd6363b982964d2f8eefb3.png)

I changed to Text instead of google to void this error.

 ![2026-02-07_15-07-47](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/2/5/25684e23939dd046e033b0a663e7344c4aecfe9b.jpeg)

It was working but happen today.

真的有点奇怪。

---

<div class="post-metadata">

**Author:** ![hex](https://www.isharkfly.com/user_avatar/www.isharkfly.com/hex/32/21953_2.png) [@hex](https://www.isharkfly.com/u/hex)\
**Post date:** [February 8, 2026, 3:00pm UTC](https://www.isharkfly.com/t/discourse-geminis-embedding-001/18634/3 "2026-02-08T15:00:27Z")

</div>

更新调用地址就可以了。

 ![2026-02-08_09-53-49](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/3X/e/b/ebef7cb9adbad5ea7607c053042c917fad628a21.jpeg)

调用地址为：

`https://generativelanguage.googleapis.com/v1beta/models/gemini-embedding-001:embedContent`
