# Solving Gemini API key errors in Discourse

**URL:** https://meta.discourse.org/t/solving-gemini-api-key-errors-in-discourse/411545
**Category:** Self-hosting
**Tags:** ai
**Created:** [September 3, 2026, 4:43am UTC](https://meta.discourse.org/t/solving-gemini-api-key-errors-in-discourse/411545 "2026-09-03T04:43:15Z")
**Posts on this page:** 1
**Showing post:** 10

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [September 4, 2026, 2:31am UTC](https://meta.discourse.org/t/solving-gemini-api-key-errors-in-discourse/411545/10 "2026-09-04T02:31:58Z")

</div>

i just did a new configuration of gemini flash 3.6 and all i had to add to do was set the api key to use (which in my case is called `2026-07-02`). i didn’t change anything else from the default setup for flash 3.6 and it tested successfully and worked fine:

 ![Screenshot 2026-09-03 at 7.28.53 PM](https://global.discourse-cdn.com/meta/original/4X/a/9/9/a99db311e3b75a494ee1afe9226b36392657575c.png)  
 ![Screenshot 2026-09-03 at 7.29.21 PM](https://global.discourse-cdn.com/meta/original/4X/f/6/9/f69f6b39e4ce85da77bc780ed81bb4c0b3bc2b40.png)

but the api key credential is using the gemini api service, not vertex.

my GCP configuration looks exactly like what you linked in the disco-docs screenshots (those are screenshots of my GCP config!).

---

_[View the full topic](https://meta.discourse.org/t/solving-gemini-api-key-errors-in-discourse/411545)._
