英文:
Permission error running Google Vertex example
问题
I'm trying to run the Bison examples on their website as well as Python in colab and I'm facing the same error. When initially started this I was prompted to enable services, which I did, but it's still not working. Since this is my personal test I'm logged in as Owner.
ERROR. Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001' (or it may not exist).
In Collab the error is as follows:
PermissionDenied: 403 Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001' (or it may not exist). [reason: "IAM_PERMISSION_DENIED"
domain: "aiplatform.googleapis.com"
metadata {
key: "permission"
value: "aiplatform.endpoints.predict"
}
metadata {
key: "resource"
value: "projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001"
}
]
Update 1: I used the policy troubleshooter, entered my Gmail address, resource1 being //aiplatform.googleapis.com/.../chat-bison@001 (as above) and permission 1 aiplatform.endpoints.predict it tells me "You do not have the required permissions to troubleshoot policies on the specified resource"
Update 2: I created a new project and it's working fine now, but I'm still bugged by the fact that the other project doesn't work.
英文:
I'm trying to run the Bison examples on their website as well as Python in colab and I'm facing the same error. When initially started this I was prompted to enable services, which I did, but it's still not working. Since this is my personal test I'm logged in as Owner.
ERROR. Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001' (or it may not exist).
In Collab the error is as following:
PermissionDenied: 403 Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001' (or it may not exist). [reason: "IAM_PERMISSION_DENIED"
domain: "aiplatform.googleapis.com"
metadata {
key: "permission"
value: "aiplatform.endpoints.predict"
}
metadata {
key: "resource"
value: "projects/cloud-ai-frontend/locations/us-central1/publishers/google/models/chat-bison@001"
}
]
Update 1: I used the policy troubleshooter, entered my Gmail address, resource1 being //aiplatform.googleapis.com/.../chat-bison@001 (as above) and permission 1 aiplatform.endpoints.predict it tells me
"You do not have the required permissions to troubleshoot policies on the specified resource"
Update 2: I created a new project and it's working fine now, but I'm still bugged by the fact that the other project doesn't work
答案1
得分: 1
I tested and it works normally.
You can try following this notebook I tested.
https://colab.research.google.com/drive/1m2FrsUPlazVx2BZUdxKKJ_3FFDTRohar
英文:
I tested and it works normally.
You can try following this notebook I tested.
https://colab.research.google.com/drive/1m2FrsUPlazVx2BZUdxKKJ_3FFDTRohar
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论