Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

text-bison@001 IAM_PERMISSION_DENIED

Hello,

I am currently facing an issue with calling the text-bison@001 API in my App Engine deployment. While the API works perfectly fine on my local machine, I encounter the following error message when calling the API from the deployed app:

```
403 Permission 'aiplatform.endpoints.predict' denied on resource '//aiplatform.googleapis.com/projects/tr-media-analysis/locations/us-central1/publishers/google/models/text-bison@001' (or it may not exist). [reason: "IAM_PERMISSION_DENIED"]
```

I have already checked the Service Account associated with the App Engine, and it has been granted the necessary AI Platform Developer rights.

I would greatly appreciate any insights or suggestions on how to resolve this problem. Are there any additional permissions or configurations that I might be missing?

Thank you in advance for your assistance!

Best regards,
Ludovico

Solved Solved
2 9 8,748
1 ACCEPTED SOLUTION

Hi, @deadsoul44 

I searched on our repo and in notes but I really couldn't find how it was resolved.

I noted we had some issues but not sure they were that; really sorry. 😞

- were missing a role for the app engine 
- the routing was misconfigured due to an external issue

If you can open i suggest you to open support ticket.

EDIT: I found and was missing one of the vertex AI roles needed.

Cheers

View solution in original post

9 REPLIES 9