Help Integrating ServiceNow Dynamic Translation with Google Cloud Translator Spoke

mohanambalnanja
Tera Contributor

Hi Everyone,

I’m trying to set up ServiceNow Dynamic Translation using the Google Cloud Translator Service Spoke. I’ve completed the installation and successfully obtained both the JWT token and OAuth token.

I have enabled the dynamic translation attribute for Incident short description.

 

I am testing the translation using 'Translate Text' Sub flow. 

 

However, I’m encountering an error when trying to translate text.

 

Here’s the error message I receive:

{
    "Translations": [
        {
            "detected_language": null,
            "error_code": "40050",
            "error_message": "Cloud IAM permission 'cloudtranslate.generalModels.predict' denied.",
            "status": "Error"
        }
    ]
}


It seems like an IAM permission issue, but google cloud team assigned the Cloud Translation API User role (roles/cloudtranslate.user). I’ve also checked my API authentication and scopes (cloud-translation and cloud-platform).

 

Has anyone faced this issue before? Is there something else I need to configure in Google Cloud IAM or ServiceNow? Any guidance would be greatly appreciated!

 

Thank & Regards,
Mohanambal Nanjappan

0 REPLIES 0