# "Net::HTTPBadResponse" errors on Gemini Embeddings

**URL:** https://meta.discourse.org/t/net-httpbadresponse-errors-on-gemini-embeddings/296952
**Category:** Bug
**Tags:** ai, related-topics
**Created:** [February 14, 2024, 9:07pm UTC](https://meta.discourse.org/t/net-httpbadresponse-errors-on-gemini-embeddings/296952 "2024-02-14T21:07:52Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [February 15, 2024, 5:41pm UTC](https://meta.discourse.org/t/net-httpbadresponse-errors-on-gemini-embeddings/296952/2 "2024-02-15T17:41:48Z")

</div>

> [@RBoy](#):
>
> My clarification is related to limits. If Gemini is limited to 60 queries per minute, I suspect that the threshold may be causing the errors (is there a way to confirm?).

You can adjust your backfill rate using the hidden site setting `ai_embeddings_backfill_batch_size`. You can set it to 50 to comply with free Gemini limits.

---

_[View the full topic](https://meta.discourse.org/t/net-httpbadresponse-errors-on-gemini-embeddings/296952)._
