# Invalid request error in Google Flash

**URL:** https://meta.discourse.org/t/invalid-request-error-in-google-flash/360095
**Category:** Support
**Tags:** ai
**Created:** [April 2, 2025, 8:49pm UTC](https://meta.discourse.org/t/invalid-request-error-in-google-flash/360095 "2025-04-02T20:49:49Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [April 2, 2025, 11:43pm UTC](https://meta.discourse.org/t/invalid-request-error-in-google-flash/360095/3 "2025-04-02T23:43:41Z")

</div>

Yes I think I do 🙂

You are trying to use the Open AI compatible endpoint Google provide instead of the Gemini native endpoint.

Try using:

`https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash`

And use the Gemini provider.

The OpenAI compatibility layer has some limitations.

---

_[View the full topic](https://meta.discourse.org/t/invalid-request-error-in-google-flash/360095)._
