Hello,
I am experiencing an HTTP 404 NOT_FOUND error when using the Gemini API in my AI Agency Manager application.
Project: Default Gemini Project
Model: gemini-2.5-flash
Tests performed:
-
API key authentication: HTTP 200 (successful).
-
Model metadata request: HTTP 200 (successful).
-
Generative Language API: Enabled.
-
Application restrictions: None.
-
API restrictions: Gemini API only.
-
Minimal generateContent request using v1beta: HTTP 404 NOT_FOUND.
-
Identical request using stable v1: HTTP 404 NOT_FOUND.
-
No additional Google error reason was returned.
The error occurs directly with Google’s API, independently of my application’s AI agents.
Could you please help determine whether my Google project has generation access to Gemini 2.5 Flash, or whether there is a model eligibility or provisioning restriction?
I would prefer to keep using gemini-2.5-flash.
Thank you for your help.