# How to fix 401 errors with Gemini embeddings

**URL:** https://meta.discourse.org/t/how-to-fix-401-errors-with-gemini-embeddings/407828
**Category:** Support
**Tags:** embedding, ai
**Created:** [July 16, 2026, 6:59pm UTC](https://meta.discourse.org/t/how-to-fix-401-errors-with-gemini-embeddings/407828 "2026-07-16T18:59:35Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![m\_terenui](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/m_terenui/32/537133_2.png) [@m\_terenui](https://meta.discourse.org/u/m_terenui)
#### Post date: [July 16, 2026, 7:29pm UTC](https://meta.discourse.org/t/how-to-fix-401-errors-with-gemini-embeddings/407828/3 "2026-07-16T19:29:05Z")

</div>

> [@Falco](#):
>
> For embeddings, we are compatible only with the first one.

Thanks a lot for the information, it is clear. I moved to AI Studio API instead for embeddings and indeed everything works now. I’ll go back to Enterprise Agent Platform once the LLM inference will be compatible.

Cheers.

---

_[View the full topic](https://meta.discourse.org/t/how-to-fix-401-errors-with-gemini-embeddings/407828)._
