Closed avisharma1996 closed 5 months ago
Seeing the following error pop up recently: Failed to request translation service
Here is the code I am using:
translate(tweetText, null, 'en') .then((result) => { logger.info( 'Detected Source: ' + console.log(JSON.stringify(result.translation)) + ' for tweet: ' + tweetText ); logger.info(result.translation) }).catch((error) => { logger.error('ERROR: ' + **error.message**); });
It should be working now. Bing's servers were down for some time yesterday.
Seeing the following error pop up recently: Failed to request translation service
Here is the code I am using: