Empty string and 200 returned from Translator API, EN-KO

Egor Scherbakov 1 Reputation point
2022-02-09T13:51:58.17+00:00

Hi!

When trying to translate a phrase "Issued in connection with" from English to Korean, we receive 200 from MS Azure Translator, but the result string is empty. Please find Curl to reproduce:

curl --request POST \
  --url 'https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=ko' \
  --header 'Content-Type: application/json' \
  --header 'Ocp-Apim-Subscription-Key: ****' \
  --header 'Ocp-Apim-Subscription-Region: ****' \
  --data '[
 {
 "Text": "Issued in connection with"
 }
]'

Result:

[
    {
        "detectedLanguage": {
            "language": "en",
            "score": 1.0
        },
        "translations": [
            {
                "text": "",
                "to": "ko"
            }
        ]
    }
]

Any changes in the phrase return translation, but we need exactly that phrase to be translated. Could you please assist with the issue or give a hint how it could be fixed?

Best regards,
Egor

Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
348 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,434 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GiftA-MSFT 11,151 Reputation points
    2022-02-10T04:45:58.9+00:00

    Hi, when I add text to your existing text I'm able to get some result. I've forwarded your feedback to the product team, will share updates as soon as possible.

    173034-image.png

    0 comments No comments