# Documentation

**URL:** https://discuss.ai.google.dev/c/gemini-api/documentation/9.md

[Latest](https://discuss.ai.google.dev/latest.md) · [Categories](https://discuss.ai.google.dev/categories.md) · [Tags](https://discuss.ai.google.dev/tags.md)

---

## [About the Documentation category](https://discuss.ai.google.dev/t/about-the-documentation-category/22)

<div class="topic-metadata">

**Author:** [@kristen](https://discuss.ai.google.dev/u/kristen)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 11:03am UTC](https://discuss.ai.google.dev/t/about-the-documentation-category/22 "2024-04-26T11:03:14Z")

</div>

A place to share feedback on documentation, tutorials, getting started, and examples.

---

## [My API key was stolen, I owe 164,538 TL, and a collection agency is threatening me](https://discuss.ai.google.dev/t/my-api-key-was-stolen-i-owe-164-538-tl-and-a-collection-agency-is-threatening-me/199829)

<div class="topic-metadata">

**Author:** [@Emre\_Ozdemir](https://discuss.ai.google.dev/u/Emre_Ozdemir)\
**Replies:** 0\
**Last updated:** [November 12, 2026, 2:41pm UTC](https://discuss.ai.google.dev/t/my-api-key-was-stolen-i-owe-164-538-tl-and-a-collection-agency-is-threatening-me/199829 "2026-11-12T14:41:06Z")

</div>

I don’t know what else to do anymore. I’m writing here as a last resort because I feel like nobody at Google cares about what happened to me. I’m a small developer from Turkey. Months ago, my API key was stolen and some…

---

## [Gemini Enterprise Argon 4 not working](https://discuss.ai.google.dev/t/gemini-enterprise-argon-4-not-working/199361)

<div class="topic-metadata">

**Author:** [@Yvonne\_Mvududu](https://discuss.ai.google.dev/u/Yvonne_Mvududu)\
**Replies:** 0\
**Last updated:** [November 10, 2026, 6:30am UTC](https://discuss.ai.google.dev/t/gemini-enterprise-argon-4-not-working/199361 "2026-11-10T06:30:37Z")

</div>

Hi I have been struggling to use Argon 4 model on Gemini Enterprise I have turn it and off still didn’t work Also tried in the private browser and another browser still not working Thank you Yvonne

---

## [Gemini 3.8 Flash HIGH: does maxOutputTokens include thinking tokens?](https://discuss.ai.google.dev/t/gemini-3-8-flash-high-does-maxoutputtokens-include-thinking-tokens/181077)

<div class="topic-metadata">

**Author:** [@Pax](https://discuss.ai.google.dev/u/Pax)\
**Replies:** 6\
**Last updated:** [October 30, 2026, 7:17am UTC](https://discuss.ai.google.dev/t/gemini-3-8-flash-high-does-maxoutputtokens-include-thinking-tokens/181077 "2026-10-30T07:17:50Z")

</div>

For gemini-3.8-flash through the Gemini Developer API (not Vertex/Agent Platform or Live API), does setting generationConfig.maxOutputTokens = 8192 enforce a combined ceiling of 8192 tokens for usageMetadata.thoughtsToke…

---

## [Request for Manual Review – Gemini API 403 PERMISSION\_DENIED on Project step-494015](https://discuss.ai.google.dev/t/request-for-manual-review-gemini-api-403-permission-denied-on-project-step-494015/183977)

<div class="topic-metadata">

**Author:** [@Senbagarani\_Naddaa](https://discuss.ai.google.dev/u/Senbagarani_Naddaa)\
**Replies:** 0\
**Last updated:** [September 21, 2026, 4:15am UTC](https://discuss.ai.google.dev/t/request-for-manual-review-gemini-api-403-permission-denied-on-project-step-494015/183977 "2026-09-21T04:15:22Z")

</div>

Hello Google Gemini API Team, I am requesting a manual review of Gemini API access for my university project. All Gemini API content generation requests return the following error: 403 PERMISSION\_DENIED “Your project…

---

## [Request for manual review - 403 Permission Denied after hitting image model on Free Tier](https://discuss.ai.google.dev/t/request-for-manual-review-403-permission-denied-after-hitting-image-model-on-free-tier/182483)

<div class="topic-metadata">

**Author:** [@R3nz](https://discuss.ai.google.dev/u/R3nz)\
**Replies:** 0\
**Last updated:** [September 11, 2026, 2:41pm UTC](https://discuss.ai.google.dev/t/request-for-manual-review-403-permission-denied-after-hitting-image-model-on-free-tier/182483 "2026-09-11T14:41:56Z")

</div>

Hi support team, I accidentally called an image generation model using my Free Tier API key in AI Studio. My project immediately got a 403 Permission Denied error and my account seems to have been automatically flagged. …

---

## [Gemini 3.5 Flash-Lite on Vertex: does maxOutputTokens bound response + thinking?](https://discuss.ai.google.dev/t/gemini-3-5-flash-lite-on-vertex-does-maxoutputtokens-bound-response-thinking/181203)

<div class="topic-metadata">

**Author:** [@MintGun](https://discuss.ai.google.dev/u/MintGun)\
**Replies:** 1\
**Last updated:** [September 9, 2026, 11:55am UTC](https://discuss.ai.google.dev/t/gemini-3-5-flash-lite-on-vertex-does-maxoutputtokens-bound-response-thinking/181203 "2026-09-09T11:55:19Z")

</div>

For the managed gemini-3.5-flash-lite publisher model on Vertex/Agent Platform v1 generateContent (not the Developer API, Live API or a tuned endpoint), does generationConfig.maxOutputTokens = G with thinkingConfig.think…

---

## [Successful Google Lyria Interactions API responses contain inline audio but no top-level id](https://discuss.ai.google.dev/t/successful-google-lyria-interactions-api-responses-contain-inline-audio-but-no-top-level-id/181813)

<div class="topic-metadata">

**Author:** [@Ming\_Liang\_Lin](https://discuss.ai.google.dev/u/Ming_Liang_Lin)\
**Replies:** 0\
**Last updated:** [September 8, 2026, 4:09am UTC](https://discuss.ai.google.dev/t/successful-google-lyria-interactions-api-responses-contain-inline-audio-but-no-top-level-id/181813 "2026-09-08T04:09:49Z")

</div>

Successful Google Lyria Interactions API responses contain inline audio but no top-level id Summary We made two non-streaming, non-background music-generation requests through the Gemini Interactions API, using Lyria 3.5…

---

## [\[gemini-3.5-transcribe\] Documented custom\_vocabulary + diarization/timestamps configuration is rejected by the Interactions API](https://discuss.ai.google.dev/t/gemini-3-5-transcribe-documented-custom-vocabulary-diarization-timestamps-configuration-is-rejected-by-the-interactions-api/180240)

<div class="topic-metadata">

**Author:** [@AlexBedeleu](https://discuss.ai.google.dev/u/AlexBedeleu)\
**Replies:** 2\
**Last updated:** [September 1, 2026, 4:29pm UTC](https://discuss.ai.google.dev/t/gemini-3-5-transcribe-documented-custom-vocabulary-diarization-timestamps-configuration-is-rejected-by-the-interactions-api/180240 "2026-09-01T16:29:45Z")

</div>

Summary The Audio Transcription documentation explicitly shows custom\_vocabulary, diarization\_mode: "speaker", and timestamp\_granularities: \["word"\] in the same transcription configuration. The Gemini Developer API rej…

---

## [Documentation issue: Structured Outputs example uses outdated GenAI SDK and Zod APIs](https://discuss.ai.google.dev/t/documentation-issue-structured-outputs-example-uses-outdated-genai-sdk-and-zod-apis/168181)

<div class="topic-metadata">

**Author:** [@TetsutoHARA](https://discuss.ai.google.dev/u/TetsutoHARA)\
**Replies:** 3\
**Last updated:** [August 26, 2026, 5:57am UTC](https://discuss.ai.google.dev/t/documentation-issue-structured-outputs-example-uses-outdated-genai-sdk-and-zod-apis/168181 "2026-08-26T05:57:10Z")

</div>

Documentation issue: Structured Outputs example uses outdated GenAI SDK and Zod APIs Hi everyone, I found a couple of issues in the JavaScript example on the Structured Outputs documentation page: Execution Environme…

---

## [Sample period and Interactions mapping for Gemini free-tier request usage metric](https://discuss.ai.google.dev/t/sample-period-and-interactions-mapping-for-gemini-free-tier-request-usage-metric/179723)

<div class="topic-metadata">

**Author:** [@Sam\_Penwright](https://discuss.ai.google.dev/u/Sam_Penwright)\
**Replies:** 0\
**Last updated:** [August 26, 2026, 3:46am UTC](https://discuss.ai.google.dev/t/sample-period-and-interactions-mapping-for-gemini-free-tier-request-usage-metric/179723 "2026-08-26T03:46:45Z")

</div>

Hello, Could a Google representative or documentation maintainer please confirm two points: What is the Sample Period for generativelanguage.googleapis.com/quota/generate\_content\_free\_tier\_requests/usage? The Cloud Mo…

---

## [Requesting allowlist access for lyria-3-pro-preview — 3Musique](https://discuss.ai.google.dev/t/requesting-allowlist-access-for-lyria-3-pro-preview-3musique/179362)

<div class="topic-metadata">

**Author:** [@3MEL\_Corporation](https://discuss.ai.google.dev/u/3MEL_Corporation)\
**Replies:** 0\
**Last updated:** [August 23, 2026, 7:46am UTC](https://discuss.ai.google.dev/t/requesting-allowlist-access-for-lyria-3-pro-preview-3musique/179362 "2026-08-23T07:46:47Z")

</div>

Hello Google team, I’d like to request allowlist access to the Lyria music generation model via the Gemini API. Google Cloud Project ID: musique-506401 Model requested: lyria-3-pro-preview Preferred region: us-centra…

---

## [Open-source telemetry project built with Gemini — including the part where Gemini's draft didn't hold up](https://discuss.ai.google.dev/t/open-source-telemetry-project-built-with-gemini-including-the-part-where-geminis-draft-didnt-hold-up/178045)

<div class="topic-metadata">

**Author:** [@plasma3000](https://discuss.ai.google.dev/u/plasma3000)\
**Replies:** 0\
**Last updated:** [August 13, 2026, 2:52am UTC](https://discuss.ai.google.dev/t/open-source-telemetry-project-built-with-gemini-including-the-part-where-geminis-draft-didnt-hold-up/178045 "2026-08-13T02:52:14Z")

</div>

I’ve been building an open-source case study around a smart water bottle’s liquid-level telemetry, and Gemini was part of the process from early on — so I wanted to post it here honestly, including the parts that needed …

---

## [Gemini frequently gives errors](https://discuss.ai.google.dev/t/gemini-frequently-gives-errors/177537)

<div class="topic-metadata">

**Author:** [@Huseyin\_Celik](https://discuss.ai.google.dev/u/Huseyin_Celik)\
**Replies:** 3\
**Last updated:** [August 12, 2026, 5:43pm UTC](https://discuss.ai.google.dev/t/gemini-frequently-gives-errors/177537 "2026-08-12T17:43:00Z")

</div>

​To: Engineering & AI Safety Team ​Subject: Critical Edge-Case Behaviors in Guardrail, Context Management, and Safety Classifier Layers ​Hello Team, ​I am reporting a series of systematic edge-case behaviors and pipel…

---

## [Gemini looping an answer after triggering some weird filter](https://discuss.ai.google.dev/t/gemini-looping-an-answer-after-triggering-some-weird-filter/176904)

<div class="topic-metadata">

**Author:** [@Leon\_lachowski](https://discuss.ai.google.dev/u/Leon_lachowski)\
**Replies:** 1\
**Last updated:** [August 12, 2026, 5:11pm UTC](https://discuss.ai.google.dev/t/gemini-looping-an-answer-after-triggering-some-weird-filter/176904 "2026-08-12T17:11:04Z")

</div>

Okay, so preety much I have found this very weird bug, where after asking for something that gemini might think is “Illegal” he triggers some safety procedures or whatever, and then just loops the same answer. I have an …

---

## [False Positive: Normal Self-Improvement Requests Are Misinterpreted as Psychological Issues Context-Blind False Positive in Gemini 3.6 Flash](https://discuss.ai.google.dev/t/false-positive-normal-self-improvement-requests-are-misinterpreted-as-psychological-issues-context-blind-false-positive-in-gemini-3-6-flash/175870)

<div class="topic-metadata">

**Author:** [@Dogukan\_Yegin](https://discuss.ai.google.dev/u/Dogukan_Yegin)\
**Replies:** 2\
**Last updated:** [August 12, 2026, 5:08pm UTC](https://discuss.ai.google.dev/t/false-positive-normal-self-improvement-requests-are-misinterpreted-as-psychological-issues-context-blind-false-positive-in-gemini-3-6-flash/175870 "2026-08-12T17:08:31Z")

</div>

False Positive Report: Psychological Interpretation of Ordinary Self-Improvement Goals Model: Gemini 3.6 Flash Platform: (Gemini App / AI Studio / API) Summary I believe I encountered a false positive where the model i…

---

## [Error 429 when uploading images to create a video.](https://discuss.ai.google.dev/t/error-429-when-uploading-images-to-create-a-video/176183)

<div class="topic-metadata">

**Author:** [@Anh\_Linh](https://discuss.ai.google.dev/u/Anh_Linh)\
**Replies:** 1\
**Last updated:** [July 30, 2026, 4:31pm UTC](https://discuss.ai.google.dev/t/error-429-when-uploading-images-to-create-a-video/176183 "2026-07-30T16:31:20Z")

</div>

I am experiencing an issue with my paid “Ultra” plan accounts on flow.google: after running for a while, they start encountering a 429 error when I upload images to generate videos.

---

## [Request for Review: 403 PERMISSION\_DENIED - "Your project has been denied access. Please contact support."](https://discuss.ai.google.dev/t/request-for-review-403-permission-denied-your-project-has-been-denied-access-please-contact-support/173924)

<div class="topic-metadata">

**Author:** [@Daniel\_MIN](https://discuss.ai.google.dev/u/Daniel_MIN)\
**Replies:** 2\
**Last updated:** [July 8, 2026, 12:07pm UTC](https://discuss.ai.google.dev/t/request-for-review-403-permission-denied-your-project-has-been-denied-access-please-contact-support/173924 "2026-07-08T12:07:16Z")

</div>

Hello team, I am requesting a manual review of my project access to the Gemini API. I have been consistently receiving a 403 Forbidden error even on brand-new projects and fresh API keys. The exact error message is: {…

---

## [Curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent" \\ -H 'Content-Type: application/json' \\ -H 'X-goog-api-key: GEMINI\_API\_KEY' \\ -X POST \\ -d '{ "contents": \[ { "parts": \[ {](https://discuss.ai.google.dev/t/curl-https-generativelanguage-googleapis-com-v1beta-models-gemini-2-0-flash-generatecontent-h-content-type-application-json-h-x-goog-api-key-gemini-api-key-x-post-d-contents-parts/103415)

<div class="topic-metadata">

**Author:** [@MD.Shahidul\_Alam\_Lit](https://discuss.ai.google.dev/u/MD.Shahidul_Alam_Lit)\
**Replies:** 2\
**Last updated:** [June 22, 2026, 12:06pm UTC](https://discuss.ai.google.dev/t/curl-https-generativelanguage-googleapis-com-v1beta-models-gemini-2-0-flash-generatecontent-h-content-type-application-json-h-x-goog-api-key-gemini-api-key-x-post-d-contents-parts/103415 "2026-06-22T12:06:35Z")

</div>

curl “https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent” -H ‘Content-Type: application/json’ -H ‘X-goog-api-key: GEMINI\_API\_KEY’ -X POST -d ‘{ “contents”: \[ { “parts”: \[ …

---

## [Fixing Gemini 3 Pro image 404 not found](https://discuss.ai.google.dev/t/fixing-gemini-3-pro-image-404-not-found/169033)

<div class="topic-metadata">

**Author:** [@Addriane\_Meredith](https://discuss.ai.google.dev/u/Addriane_Meredith)\
**Replies:** 1\
**Last updated:** [June 18, 2026, 8:04am UTC](https://discuss.ai.google.dev/t/fixing-gemini-3-pro-image-404-not-found/169033 "2026-06-18T08:04:05Z")

</div>

Model requested: gemini-3-pro-image-preview Region: us-central1 (or global) GCP Project ID: project-bd6986e4-3e98-48aa-… GCP Project Number: Billing status: Enabled (active billing account) Vertex AI API: Enabled …

---

## [The server encountered a resource exhausted error. This is likely due to the number of requests issued reaching your quota](https://discuss.ai.google.dev/t/the-server-encountered-a-resource-exhausted-error-this-is-likely-due-to-the-number-of-requests-issued-reaching-your-quota/144397)

<div class="topic-metadata">

**Author:** [@baltuna](https://discuss.ai.google.dev/u/baltuna)\
**Replies:** 0\
**Last updated:** [May 11, 2026, 7:08am UTC](https://discuss.ai.google.dev/t/the-server-encountered-a-resource-exhausted-error-this-is-likely-due-to-the-number-of-requests-issued-reaching-your-quota/144397 "2026-05-11T07:08:36Z")

</div>

Hi everyone, I have been having a recurring issue with the Gemini Agent in Android Studio for several weeks. The error I receive is: The server encountered a resource exhausted error. This is likely due to the number…

---

## [Calendar MCP API documentation?](https://discuss.ai.google.dev/t/calendar-mcp-api-documentation/141503)

<div class="topic-metadata">

**Author:** [@SJK](https://discuss.ai.google.dev/u/SJK)\
**Replies:** 2\
**Last updated:** [April 24, 2026, 2:15pm UTC](https://discuss.ai.google.dev/t/calendar-mcp-api-documentation/141503 "2026-04-24T14:15:24Z")

</div>

Recently, I’ve found Calendar MCP API in Google Cloud Console API library: https://console.cloud.google.com/apis/library/calendarmcp.googleapis.com It seems quite brand-new and I am eager to try it. But, I cannot locate…

---

## [SecuriLayer: Using triple-layer AI (ONNX + Gemini/Llama) for real-time scam detection in community platforms](https://discuss.ai.google.dev/t/securilayer-using-triple-layer-ai-onnx-gemini-llama-for-real-time-scam-detection-in-community-platforms/139827)

<div class="topic-metadata">

**Author:** [@Denis\_Remizov](https://discuss.ai.google.dev/u/Denis_Remizov)\
**Replies:** 0\
**Last updated:** [April 14, 2026, 5:15pm UTC](https://discuss.ai.google.dev/t/securilayer-using-triple-layer-ai-onnx-gemini-llama-for-real-time-scam-detection-in-community-platforms/139827 "2026-04-14T17:15:46Z")

</div>

Hi everyone, I’ve been building SecuriLayer — an AI-powered scam detection platform for Telegram, Discord, and Slack communities. The technical approach might be interesting here: We use a triple-layer inference pipe…

---

## [Rrequested for Tier upgrade and waiting for response](https://discuss.ai.google.dev/t/rrequested-for-tier-upgrade-and-waiting-for-response/134256)

<div class="topic-metadata">

**Author:** [@Satya.Vithala](https://discuss.ai.google.dev/u/Satya.Vithala)\
**Replies:** 2\
**Last updated:** [March 26, 2026, 1:57pm UTC](https://discuss.ai.google.dev/t/rrequested-for-tier-upgrade-and-waiting-for-response/134256 "2026-03-26T13:57:01Z")

</div>

I requested for an upgrade of Gemini API Tier upgrade and waiting for response. How do i reach someone to expedite? Have a deadline for an AI Challenge

---

## [Gemini and File Search Tool](https://discuss.ai.google.dev/t/gemini-and-file-search-tool/131343)

<div class="topic-metadata">

**Author:** [@Deric\_Ferreira](https://discuss.ai.google.dev/u/Deric_Ferreira)\
**Replies:** 0\
**Last updated:** [March 12, 2026, 3:37pm UTC](https://discuss.ai.google.dev/t/gemini-and-file-search-tool/131343 "2026-03-12T15:37:53Z")

</div>

Currently, the Gemini File Search API abstracts the embedding process, providing a seamless but “black-box” indexing experience. With the release of gemini-embedding-2-preview, developers now have access to 8k context wi…

---

## [\[Proposal\] Automated Cognitive Discovery & Incentive System (ACDIS): A Human-AI Collaborative White Paper](https://discuss.ai.google.dev/t/proposal-automated-cognitive-discovery-incentive-system-acdis-a-human-ai-collaborative-white-paper/126449)

<div class="topic-metadata">

**Author:** [@Gulsah\_Okmen](https://discuss.ai.google.dev/u/Gulsah_Okmen)\
**Replies:** 9\
**Last updated:** [March 9, 2026, 1:29am UTC](https://discuss.ai.google.dev/t/proposal-automated-cognitive-discovery-incentive-system-acdis-a-human-ai-collaborative-white-paper/126449 "2026-03-09T01:29:58Z")

</div>

Proposal: ACDIS – Transitioning from Bulk Data Mining to Autonomous “Intelligence Discovery” ​This proposal is the result of a deep, interdisciplinary dialogue between a high-signal user and Gemini. It outlines a struct…

---

## [Using better coding standard to help LLMs perform better](https://discuss.ai.google.dev/t/using-better-coding-standard-to-help-llms-perform-better/129025)

<div class="topic-metadata">

**Author:** [@Mark\_Newstead](https://discuss.ai.google.dev/u/Mark_Newstead)\
**Replies:** 0\
**Last updated:** [March 5, 2026, 10:44pm UTC](https://discuss.ai.google.dev/t/using-better-coding-standard-to-help-llms-perform-better/129025 "2026-03-05T22:44:03Z")

</div>

I have been building a book manager app for the last couple of weeks. The past week has been a nightmare with gemini producing very bad code, bad bug fixes, and bad advice. Today I ended up refactoring the project and ad…

---

## [Complete an utter critical failures of gemini](https://discuss.ai.google.dev/t/complete-an-utter-critical-failures-of-gemini/126571)

<div class="topic-metadata">

**Author:** [@Virgil\_Reemer](https://discuss.ai.google.dev/u/Virgil_Reemer)\
**Replies:** 0\
**Last updated:** [February 25, 2026, 9:15am UTC](https://discuss.ai.google.dev/t/complete-an-utter-critical-failures-of-gemini/126571 "2026-02-25T09:15:10Z")

</div>

---

## [Error in API Reference doco re GenerationConfig ResponseJsonSchema structured output.?](https://discuss.ai.google.dev/t/error-in-api-reference-doco-re-generationconfig-responsejsonschema-structured-output/125182)

<div class="topic-metadata">

**Author:** [@randomnuggets](https://discuss.ai.google.dev/u/randomnuggets)\
**Replies:** 0\
**Last updated:** [February 22, 2026, 2:58am UTC](https://discuss.ai.google.dev/t/error-in-api-reference-doco-re-generationconfig-responsejsonschema-structured-output/125182 "2026-02-22T02:58:24Z")

</div>

The API Reference doco for the GenerationConfig object describes three fields relating to JSON output. These are “responseSchema", "\_responseJsonSchema" and "responseJsonSchema". The description for “responseJsonSchema"…

---

## [Gemini + MCP typescript example](https://discuss.ai.google.dev/t/gemini-mcp-typescript-example/77273)

<div class="topic-metadata">

**Author:** [@sigmasd](https://discuss.ai.google.dev/u/sigmasd)\
**Replies:** 6\
**Last updated:** [February 10, 2026, 11:36am UTC](https://discuss.ai.google.dev/t/gemini-mcp-typescript-example/77273 "2026-02-10T11:36:35Z")

</div>

[Next page](https://discuss.ai.google.dev/c/gemini-api/documentation/9.md?page=1)
