google.api_core.exceptions.PermissionDenied: 403 The caller does not have permission

2,347 views
Skip to first unread message

Moch Ali Hafidz

unread,
Sep 3, 2019, 6:48:15 AM9/3/19
to cloud-vision-discuss
Hi, I have some issue to call google auto ML API, I was already change the access also to owner, Auto ML admin, AutoML Editor and i already also put the google_application_credintials to my code.. but when i was run the code its still got the issue PermissionDenied: 403. Please give me some suggestion to solve this problem..

Thankyouu...

Ali (Cloud Platform Support)

unread,
Sep 9, 2019, 9:37:10 AM9/9/19
to cloud-vision-discuss
Hi,

Can you please add more details which endpoint you are calling and the method used to call it? Also, please share how you are setting up the credentials in your code. This would clarify the error you are running into. 

In the meantime, please make sure the AutoML service account has the ml.admin, storage.admin and serviceusage.serviceUsageAdmin roles assigned

Reply all
Reply to author
Forward
0 new messages