I am experiencing a continuous 404 Not Found error when attempting to call the Gemini API, specifically models/gemini-1.5-flash. This issue persists regardless of the API version (v1 or v1beta).
Error Message: "models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent."
Steps I have already taken (following official guidance):
-
New Key Generation: Created multiple new API keys within Google AI Studio using the “Create API key in new project” option.
-
Account Diversification: Attempted to use completely different Google accounts to generate new keys, but the error remains 100% consistent.
-
Model Variation: Tested with
gemini-1.5-flash-001andgemini-1.0-pro, but received the same “Not Found” error for all models. -
Environment Check: Verified the code was working perfectly until a few days ago (around April 18-20). The request structure (JSON payload) has been double-checked for compliance with official documentation.
Request: As I am following the instructions provided in the April 18th incident notice (“Gemini API is having some issues serving recently created keys”), yet still unable to access any models, please investigate if there is a regional or account-level synchronization issue affecting my credentials.
