Vertex AI - 404 Publisher Model Not Found for Project

Hello, I am unable to access any Generative Models via the Vertex AI API for my project (PII Removed by Staff). I am consistently receiving a “404 Publisher Model not found” error, regardless of the model or region I try. Project ID: (PII Removed by Staff). I have already performed extensive troubleshooting, including: 1. Confirmed that the ‘Vertex AI API’ is enabled. 2. Created a service account and assigned it the “Vertex AI User” role. 3. Verified authentication is working via the service account key. 4. Tried accessing different models, including ‘gemini-1.5-flash-latest’ and ‘gemini-1.5-flash-001’. 5. Tried accessing the models from different regions, including ‘us-central1’ and ‘us-east1’. 6. Regenerated the service account key. 7. Confirmed the project is linked to an active billing account with a free trial. Despite all these steps, the error persists. It seems to be a backend provisioning issue with the project itself. Can anyone help diagnose what might be wrong? Here is the latest error traceback: google.api_core.exceptions.NotFound: 404 Publisher Model `projects/(PII Removed by Staff)/locations/us-east1/publishers/google/models/gemini-1.5-flash-001` was not found or your project does not have access to it. Thank you.

Hi @Ranajit_Dhar That 404 usually isn’t about your code - it means the project doesn’t yet have access to the publisher models. A few things to check: make sure you’ve enabled “Generative AI support” in Vertex AI (it’s separate from just turning on the Vertex AI API), your project is in an eligible region (e.g. us-central1, us-east1), and that billing is fully active (free trial sometimes needs upgrade). If everything looks right but you still see Publisher Model not found, it’s often a provisioning issue on Google’s side, and opening a support ticket is the fastest path.

Afaik, they deprecated the gemini-1.5 models, and send emails to everyone to migrate from 1.5 to 2.0/2.5,

if your gemini part of the code generated by ai (mostly ai is pushing you to use 1.5 models xD), that would be causing you the error.