{ [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.