Knowledge articles hitting max length on Machine Translate

mdebs
Tera Contributor

Does anyone know of any workarounds for translating long knowledge articles in the Localization Framework using machine translate? We have a lot of articles that are on the longer side that are erroring out due to exceeding the max character limits for Azure.

5 REPLIES 5

Alex Coope - SN
ServiceNow Employee
ServiceNow Employee

@mdebs,

Could you provide a screenshot of the error, because in theory it's supposed to truncate the API calls to do it's best to avoid this. The technical reason for this is detailed here on docs, 

Many thanks,
Kind regards

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization

Hey Alex,

 

Yes, please see the below screenshot for what the error looks like while trying to translate it. Then when I look in the syslog table, I see it's generating this error. The error makes sense, because it's a long KB article. Trying to think through how we could split up the article into chunks to send to the translation service. Unless you have any other ideas on it?

Error while translating the text to language using Microsoft Translator. Error:The maximum request size has been exceeded. Response received:{"error":{"code":400077,"message":"The maximum request size has been exceeded."}}



mdebs_0-1667398022876.png

@mdebs,

Ok can you send me an email and we can organise a call, I think I need to see how you're using it, because there's a lot of fields there for a KB article (normally it's just Title and Body),

Many thanks,
Kind regards 

--------------------------------------------------------------------
Director of Globalization Deployment, Internationalization

Hi Alex,

We are getting the same error. Any pointers on the fix here?

 

Thanks in advance,

Srini