Raghuveersingh / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 0 forks source link

Google Translate API returns "503 Backend Error" for numbers >= 10 million #565

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. GET 
https://www.googleapis.com/language/translate/v2?key=MYVALIDAPIKEY&q=12345678&ta
rget=ANYVALIDLANGCODE where MYVALIDAPIKEY and ANYVALIDLANGCODE are to be 
substituted with any valid value

What is the expected output? What do you see instead?
Expected: get regular "translation" (12345678)
Instead:

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "backendError",
    "message": "Backend Error"
   }
  ],
  "code": 503,
  "message": "Backend Error"
 }
}

What version of the product are you using?
Google Translate API v2

Please provide any additional information below.
12345678 can be any integer greater than 9999999.

Original issue reported on code.google.com by til...@gmail.com on 28 Feb 2011 at 4:43

GoogleCodeExporter commented 9 years ago
It looks like the error occurs whenever the input data is at least 8 characters 
long and doesn't contain any letters.

Original comment by til...@gmail.com on 28 Feb 2011 at 5:35