Dear Support Team,
I am developing an Android application (“Nutri”) using the Google Generative AI SDK for Android (com.google.ai.client.generativeai). I am experiencing a persistent 404 “Project Not Active” error when attempting to use Vision models, despite having enabled the necessary services.
Project Details:
•
Project Name: Nutri2026
•
Project ID: gen-lang-client-09606234..
•
Project Number: 352004992..
•
API Key Format: New 2026 “AQ.” prefix (Authentication Key)
•
SDK Version: 0.9.0
Issue Description: Whenever the application attempts to call generateContent with a TakePicturePreview bitmap, the API returns a 404 Not Found error with the message: ‘models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent.’
Steps Taken to Troubleshoot:
Service Status: I have confirmed that the “Generative Language API” (and “Gemini API”) is marked as “Enabled” with a green checkmark in the Google Cloud Console for project gen-lang-client-09606234..
2.
Project Import: The project has been successfully imported and shows as “Active” and on the “Free Tier” in the Google AI Studio Projects dashboard.
3.
Model Availability: My Android Studio “Model Providers” settings show that my account has access to gemini-2.0-flash and gemini-2.5-pro.
4.
Multi-Model Testing: I have updated my code to attempt calls to gemini-2.0-flash, gemini-1.5-flash, and gemini-1.5-pro, but all return the same “Project Not Active” 404 error.
5.
Region/Network: I am not using a VPN, and my region is supported for Gemini services.
Requested Action: Could you please verify if there is a back-end synchronization issue between the Google Cloud Console and the Generative Language API for my specific project number (352004992505)? It appears the “AQ.” key is not being recognized as authorized despite the API being enabled.
I look forward to your guidance on how to resolve this “Project Not Active” mismatch.
Thank you, sathesh