-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoML][Vision] caller does not have permission #1722
Comments
Have you verified that the project ID in |
Yes, and it does! |
Reading through the "Before You Begin" guide, they specifically ask that you grant yourself both Additionally, review all the other information on that page and be sure you've correctly configured everything. |
@jdpedrie I enabled the permissions accordingly to what they stated on the link you provided
The serviceaccount i use for the API is set up properly to be used (Vision API works). Since i changed the permissions around it didn't have any effect on the AutoML API. |
@jdpedrie thanks for the help. I just figured out that somehow my service account almost got duplicated. With one or two characters different. And i was using the wrong one in the IAM interface.. |
Hi,
I am trying to predict an image to my AutoML Vision Dataset, in the hope that i get the label back.
I keep getting the following error code:
Error :
{ "message": "The caller does not have permission", "code": 7, "status": "PERMISSION_DENIED", "details": [] }
Instance : Google \ ApiCore \ ApiException (7) path: vendor/google/gax/src/ApiException.php:139
Code :
Description
I have one other API Endpoint that i use, the
TEXT_DETECTION
on OCR Vision API. Which works smoothly.I have enabled all storage api's and permissions on my serviceaccount but nothing helps. The error is thrown on the last line
->predict()
All help is welcome!
EDIT:
Roles enabled on serviceaccount :
The text was updated successfully, but these errors were encountered: