Hi everyone! I am new here and not really a tech person, so apologies if my question seems basic.
I work in the translation industry and I want to use AutoML to train MT and use it my translation platform, Phrase (previously known as Memsource).
On the GC side, I have created a model, trained the engine, saved everything in a bucket and enabled all APIs I could find. In short, I have done everything that is language related with no issues, but when I try to establish the connection with the translation platform, I get this error:
Google AutoML API returned error PERMISSION_DENIED: io.grpc.StatusRuntimeException: PERMISSION_DENIED: Cloud IAM permission 'automl.models.predict' denied.
For context, I am using a Service account key (json), Project and Model ID, bucket number, and source and target language to create this connection within Phrase.
Could anyone clarify to me what is this permission that I am missing? I spent hours trying different approaches and have not yet identified what I am doing wrong.
Thank you so much in advance!
Solved! Go to Solution.
Hi @Millevanille,
Welcome and thank you for reaching out to our community.
The error message you are getting indicates missing IAM permissions, you can check this in the IAM & Admin section of your Google Cloud Console then locate the account/ service account who will be using the service, click on the "Edit" icon or "Grant Access" so you can search and add the necessary permissions.
Since you mentioned about translation and the error refers to AutoML, I suggest checking on both just to be sure we are not missing anything.
Review these roles with the "automl.models.predict" permission and have them added to your IAM.
Please note that once the permissions are added, it will take a few minutes to propagate and be enforced, kindly allow some time before retrying the connection.
Hi @Millevanille,
Welcome and thank you for reaching out to our community.
The error message you are getting indicates missing IAM permissions, you can check this in the IAM & Admin section of your Google Cloud Console then locate the account/ service account who will be using the service, click on the "Edit" icon or "Grant Access" so you can search and add the necessary permissions.
Since you mentioned about translation and the error refers to AutoML, I suggest checking on both just to be sure we are not missing anything.
Review these roles with the "automl.models.predict" permission and have them added to your IAM.
Please note that once the permissions are added, it will take a few minutes to propagate and be enforced, kindly allow some time before retrying the connection.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |