Unable to Access Vertex AI Publisher Models (404 Error) - Issue is Independent of Project

Hello Google Cloud Support Team,

I am consistently encountering a critical issue while trying to use the Vertex AI generative models via the Python SDK. Despite all my troubleshooting efforts, I continuously receive a 404 error when attempting to call a standard publisher model like gemini-1.0-pro.

Error Message:

404 Publisher Model `projects/[project-name]/locations/us-central1/publishers/google/models/gemini-1.0-pro` was not found or your project does not have access to it.

I have performed the following steps to resolve the issue, but none have been successful:

  1. Troubleshooting on an Existing Project:

    • Project ID: gemini-cli-demo-465716

    • I repeatedly verified that the Vertex AI API is enabled for this project.

    • I confirmed the project is linked to an active and healthy billing account.

    • I ensured my local authentication credentials (gcloud auth application-default login) are current and correct.

  2. Testing with a Brand New Project:

    • To prove this was not a project-specific configuration issue, I created a brand new project from scratch.

    • New Project ID: gemini-yeni-deneme

    • For this new project, I enabled and linked the same billing account.

    • I also enabled the Vertex AI API for this new project.

    • I reconfigured my local gcloud environment to point to this new project and refreshed my authentication.

    • Result: Unfortunately, I received the exact same 404 error even with this completely clean project setup.

This situation strongly suggests that the issue is not related to my individual project configurations, but rather stems from a higher-level restriction or problem related to my Google Cloud account, its parent organization, or the associated billing account.

I kindly request that you investigate my account for any policies, restrictions, or underlying issues that would prevent access to Vertex AI publisher models. I am completely blocked and require your assistance to resolve this.

Thank you for your help.

Sincerely,

Hi @balkac ,

Welcome to Google Cloud Community!

You’re seeing this error because Gemini-1.0 Pro was officially discontinued in April 2025 and is no longer available.

Have you considered exploring other model versions? Try referring to the Model version and lifecycles to identify stable and actively supported models. Additionally, ensure that the Gemini models you’re considering are available in your region and it’s also recommended to check your organization policies that might restrict your access to certain Vertex AI models across your project.

For further clarification, you may reach out to Google Cloud Support for a one-on-one discussion about your issue. Their team has the specialized expertise to diagnose and resolve complex problems effectively.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Saya telah cuba tukar model_name kepada gemini-pro, namun error 404 Publisher Model was not found masih berlaku."