Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Receiving 404 NOT_FOUND error for standard Vertex AI models.

Hello,

I am trying to make a basic API call to Vertex AI from a Python script, but I consistently receive a 404 NOT_FOUND error for any model I try, including standard ones.

- Project ID: `classeta-agent-v2`
- Model I tried to call: `gemini-1.0-pro-vision-001`
- Region: `us-central1` (also tried `europe-west4` with the same result)
- Error Message: `404 Publisher Model projects/classeta-agent-v2/locations/us-central1/publishers/google/models/gemini-1.0-pro-vision-001 was not found or your project does not have access to it.`

I have already verified the following:
1. The project is linked to an active billing account with available credits.
2. The "Vertex AI API" is enabled for this project.
3. My user account (`d*****d@gmail.com`) has both "Owner" and "Vertex AI User" IAM roles for the project.

The error persists even with the simplest possible text-only request. It seems there is an issue with my project's access to the Vertex AI service. Could you please check the backend logs for my project to see why the requests are being rejected?

Thank you.

0 0 23