Translate Text Flow end with Empty JSON string error

Ibrahim19
Tera Contributor

I am setting up the Azure Translator for my Instance for Dynamic Translation. The flow fails with an Empty JSON string error. Would someone be able to help me with that?

Greenshot 2024-01-26 11.19.37.png

Flow Designer: Operation(Translate Text.ForEach$1.item$1) failed with error: com.snc.process_flow.exception.OpException: Call block 'Translate Text.ForEach$1.item$1' failed. Detail: Error: Empty JSON string,Detail: Empty JSON string at com.snc.process_flow.engine.CallBlockOperation.run(CallBlockOperation.java:76) at com.snc.process_flow.engine.Operation.execute(Operation.java:212)

2 REPLIES 2

K_vin Delorme
Tera Contributor

Hello Ibrahim,

 

Have you got your issue solved ?

 

I am facing the exact same situation on our instances and I believe we are experiencing the same situation : this Empty JSON string error may be the result of an auth issue with MS Azure Translator Services, resulting in empty JSON String being returned from the MS Azure cloud resource.

 

You can validate this testing the subflow Action:

K_vinDelorme_0-1708459781997.png

 

 

This is very strange because I did follow the ServiceNow Product Documentation step by step to create the Translator Connection and Credentials, i.e. using an API Key credential (which means no Usename/Password combo...), from this video https://www.youtube.com/watch?v=MQd56oSVcGw available from the following KB article : https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/dynamic-translation/...

 

I will update my post in case I find something.

 

Best regards,

Kévin Delorme

Hello all,

 

Have you guys solved the issue? I'm also facing the same issue right now. If you have any findings, please let me know.