Answered by:
TranslateAPI exception when using Bing Translation APIs (including Bing Translator)

Question
-
I am trying to use Bing Translation API in one of my WebApps. The translation API works well for most of the languages but when I try to convert a Chinese (zh-CHS) to English(en), I found that Bing Translation API failed and there was not translations.
I tried the same in Bing Translator on Web (http://www.bing.com/translator) and could see error in developer console. Attaching screenshot. The error which I found in developer console for different network calls is:
On Web(http://bing.com/translator)
My Sample Chinese Text: 请使用在右上角的[联系我]按钮发送短信给我确认房源
URL (from developer console):
http://api.microsofttranslator.com/v2/ajax.svc/TranslateArray2?appId=%22Tvc5VH_qoQdKMHer_nmjsVq1AQCngDSjYxa8oy7tL5CU*%22&texts=[%22%E8%AF%B7%E4%BD%BF%E7%94%A8%E5%9C%A8%E5%8F%B3%E4%B8%8A%E8%A7%92%E7%9A%84[%E8%81%94%E7%B3%BB%E6%88%91]%E6%8C%89%E9%92%AE%E5%8F%91%E9%80%81%E7%9F%AD%E4%BF%A1%E7%BB%99%E6%88%91%E7%A1%AE%E8%AE%A4%E6%88%BF%E6%BA%90%22]&from=%22zh-cht%22&to=%22en%22&oncomplete=_mstc4&onerror=_mste4&loc=en&ctr=&rgp=164a0c7c
Errors:
_mste8("TranslateApiException: ServerTooBusy : ID=0818.V2_Json.TranslateArray2.3E8804A3");
_mste4("TranslateApiException: ServerTooBusy : ID=2241.V2_Json.TranslateArray2.3DAC94B2");
Using my web app (via Bing Translation API)
Even in my web app, when I try to catch the exception I get below response for the request:
Request URL:
http://api.microsofttranslator.com/v2/Http.svc/Translate?text=%E8%AF%B7%E4%BD%BF%E7%94%A8%E5%9C%A8%E5%8F%B3%E4%B8%8A%E8%A7%92%E7%9A%84[%E8%81%94%E7%B3%BB%E6%88%91]%E6%8C%89%E9%92%AE%E5%8F%91%E9%80%81%E7%9F%AD%E4%BF%A1%E7%BB%99%E6%88%91%E7%A1%AE%E8%AE%A4%E6%88%BF%E6%BA%90&from=zh-CHS&to=en
Response:
400 Bad Request: <html><body><h1>TranslateApiException</h1><p>Method: Translate()</p><p>Message: ServerTooBusy</p><code></code><p>message id=3010.V2_Rest.Translate.40A8AEC6</p></body></html>
And this happens only for text with Chinese characters. Other languages works just fine, tried with english etc.
Tuesday, March 25, 2014 10:42 AM
Answers
-
Thanks for the report. We had an outage the following languages on 3/25/2014 between midnight and 5am Pacific time:
Arabic to any other language
Bulgarian to any other language
Catalan to any other language
Czech to any other language
Simplified Chinese to any other language
Traditional Chinese to any other language
Danish to any other language
Greek to any other language
Estonian to any other language
Persian to any other language
Finnish to any other language
Haitian Creole to any other language
Hebrew to any other language
Hindi to any other language
Hungarian to any other language
Indonesian to any other language
Italian to any other language
Japanese to Korean to any other language
Korean to any other language
Lithuanian to any other language
Latvian to any other language
Malaysian to any other language
Maltese to any other language
Hmong to any other language
Norwegian to any other language
Dutch to any other language
Polish to any other language
Portuguese to any other language
Romanian to any other language
Russian to any other language
Slovak to any other language
Slovenian to any other language
Swedish to any other language
Thai to any other language
Klingon to any other language
Turkish to any other language
Ukrainian to any other language
Urdu to any other language
Vietnamese to any other language
Welsh to any other languageWe sincerely apologize for the loss of productivity caused.
Chris Wendt
Microsoft Translator- Edited by Chris WendtMicrosoft employee Tuesday, March 25, 2014 8:57 PM
- Marked as answer by Chris WendtMicrosoft employee Tuesday, March 25, 2014 8:57 PM
Tuesday, March 25, 2014 8:56 PM
All replies
-
Thanks for the report. We had an outage the following languages on 3/25/2014 between midnight and 5am Pacific time:
Arabic to any other language
Bulgarian to any other language
Catalan to any other language
Czech to any other language
Simplified Chinese to any other language
Traditional Chinese to any other language
Danish to any other language
Greek to any other language
Estonian to any other language
Persian to any other language
Finnish to any other language
Haitian Creole to any other language
Hebrew to any other language
Hindi to any other language
Hungarian to any other language
Indonesian to any other language
Italian to any other language
Japanese to Korean to any other language
Korean to any other language
Lithuanian to any other language
Latvian to any other language
Malaysian to any other language
Maltese to any other language
Hmong to any other language
Norwegian to any other language
Dutch to any other language
Polish to any other language
Portuguese to any other language
Romanian to any other language
Russian to any other language
Slovak to any other language
Slovenian to any other language
Swedish to any other language
Thai to any other language
Klingon to any other language
Turkish to any other language
Ukrainian to any other language
Urdu to any other language
Vietnamese to any other language
Welsh to any other languageWe sincerely apologize for the loss of productivity caused.
Chris Wendt
Microsoft Translator- Edited by Chris WendtMicrosoft employee Tuesday, March 25, 2014 8:57 PM
- Marked as answer by Chris WendtMicrosoft employee Tuesday, March 25, 2014 8:57 PM
Tuesday, March 25, 2014 8:56 PM -
내 WebApps의 Bing 번역 API를 사용 하 려 합니다. 번역 API는 언어의 대부분을 위해 잘 작동 하지만 중국인 (어) (zh-CHS) English(en) 변환 하려고 할 때 나타났습니다 빙 번역 API 실패 하 고 번역 되지 않았습니다.
빙 번역기 웹 (http://www.bing.com/translator)에서 동일을 노력 하 고 개발자 콘솔에 오류를 볼 수 있습니다. 스크린샷을 첨부 합니다. 다른 네트워크 호출에 대 한 개발자 콘솔에서 있는 오류가입니다.
웹 (http://bing.com/translator)
My Sample Chinese Text: 请使用在右上角的[联系我]按钮发送短信给我确认房源" _position="static" adjustAlign="true" lang="ko" len="77">내 샘플 중국어 텍스트: 请使用在右上角的 [联系我] 按钮发送短信给我确认房源
(개발자 콘솔)에서 URL:
http://api.microsofttranslator.com/v2/ajax.svc/TranslateArray2?appId=%22Tvc5VH_qoQdKMHer_nmjsVq1AQCngDSjYxa8oy7tL5CU * %22 & 텍스트 = [%22% E8% AF % B7% e 4% BD % BF % E7 %94% a 8% E5 %9 C % a 8% E5% 8F % b 3% e 4% B8 %8A E8 %%a 7 %92% E7 9A %84 [E8 %81 %94% E7% b 3% BB % e 6 %88 %91] % e 6 %8 C %89% E9 %92% 애 % E5 %8 층 %91% E9 %80 %81% E7 9F% 광고 % e 4% BF % A1% E7% BB %99% e 6 %88 %91% E7 a 1% 애 % E8% AE A4% e 6 %88% BF % e 6%바 90 %22] = %22zh cht %22 & %22en %22 & oncomplete = = _mstc4 & onerror _mste4 & loc = en 및 클릭률 = = &까지 = 164a0c7c
오류:
_mste8 ("TranslateApiException: ServerTooBusy: ID=0818.V2_Json.TranslateArray2.3E8804A3");
_mste4 ("TranslateApiException: ServerTooBusy: ID=2241.V2_Json.TranslateArray2.3DAC94B2");
(빙 번역 API)를 통해 내 웹 애플 리 케이 션을 사용 하 여
내 웹 애플 리 케이 션에도 예외를 catch 하려고 하는 경우 나 아래 얻을 요청에 대 한 응답:
요청 URL:
http://api.microsofttranslator.com/v2/Http.svc/Translate?text=%E8%AF%B7%E4%BD%BF%E7%94%A8%E5%9C%A8%E5%8F%B3%E4%B8%8A%E8%A7%92%E7%9A%84 [e 8 %81 %94% E7% b 3% BB % e 6 %88 %91] % e 6 %8 C %89% E9 %92% 애 % E5 %8 층 %91% E9 %80 %81% E7 9F% 광고 % e 4% BF % A1% E7% BB %99% e 6 %88 %91% E7% a 1% 애 % e 8% 애 A4% e 6 %88% BF % e 6% 바 90% & ZH-CHS = & =en
응답:
400 잘못 된 요청: < html >< 몸 >< h1 > TranslateApiException < / h 1 >< p > 방법: Translate() < /p >< p > 메시지: ServerTooBusy < /p >< 코드 >< / 코드 >< p > 메시지 id=3010.V2_Rest.Translate.40A8AEC6 < /p >< / 바디 >< / html >
그리고이 중국 문자로 텍스트에 대해서만 발생 합니다. 다른 언어 작품 잘, 영어 등을 시도 했다.
- Proposed as answer by app4599 Thursday, June 26, 2014 10:23 PM
Thursday, June 26, 2014 10:21 PM