{ [Error: Vertex AI API Error (400): Project `XXXXXXXXXXX` is not allowed to use Publisher Model `projects/XXXXXXXXXXXX/locations/us-central1/publishers/google/models/gemini-1.0-pro`] details: '{\n "error": {\n "code": 400,\n "message": "Project `XXXXXXXXXXX` is not allowed to use Publisher Model `projects/nXXXXXXXXXXX/locations/us-central1/publishers/google/models/gemini-1.0-pro`",\n "status": "FAILED_PRECONDITION"\n }\n}\n' }
What is the solution to this error?
I have checked the settings around the payment and the data usage, but I am still having trouble finding the cause.
Solved! Go to Solution.
Hi Taichi_Ikegami,
Welcome to the Google Cloud Community!
The error you encountered typically occurs when your project lacks the required permissions or access rights to utilize the specified publisher model in Vertex AI. Here are a few approaches you can try to resolve it:
Additionally, you can refer to this documentation for more details on enabling models in Vertex AI. Please note that, according to the documentation, Gemini 1.0 Pro will be available only until April 21, 2025. We recommend migrating to Gemini 2.0 Flash before this date to ensure continued access to these features.
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.
Hi Taichi_Ikegami,
Welcome to the Google Cloud Community!
The error you encountered typically occurs when your project lacks the required permissions or access rights to utilize the specified publisher model in Vertex AI. Here are a few approaches you can try to resolve it:
Additionally, you can refer to this documentation for more details on enabling models in Vertex AI. Please note that, according to the documentation, Gemini 1.0 Pro will be available only until April 21, 2025. We recommend migrating to Gemini 2.0 Flash before this date to ensure continued access to these features.
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.