You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Translation services not working

Accepted answer
28
Views
8
Comments
edited May 18, 2020 7:20AM in Digital Assistant and Mobile 8 comments

Summary

Getting oracle.cloud.bots.BotsException: Unable to get correct response from translation service

Content

I followed the documentation for Localization but I cannot get it working. I configured both Google and Microsoft providers.

The skill I used:

metadata:
  platformVersion: "1.1"
main: true
name: ITdeptskill

context:
  variables:
    iResult: nlpresult
    autoTranslate: boolean
states:

  setAutoTranslate:
    component: "System.SetVariable"
    properties:
      variable: "autoTranslate"
      value: true
    transitions: {}
  detect:
    component: "System.DetectLanguage"
    properties: {}
    transitions: {}
  translate:
    component: "System.TranslateInput"
    properties:
      variable: "translatedString"
    transitions: {} 

Running the tester UI results in:

Error State: detect
Error Message:
Error when detecting language using text hi: oracle.cloud.bots.BotsException: Unable to get correct response from translation service
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!