Permission error running Google Vertex example.

huangapple go评论138阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年5月15日 11:53:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/76250788.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定