AthaniMS / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Error when using Detect.Execute #176

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write standalone program to detect the language of source input
2.
3.

What is the expected output? What do you see instead?
I get following error
JSONObject["responseData"] is not a JSONObject.
    at org.json.JSONObject.getJSONObject(JSONObject.java:596)
    at com.google.api.detect.Detect.execute(Detect.java:58)
    at EYGoogleTranslate.TranslateMyText(GoogleTranslate.java:153)
    at EYGoogleTranslate.main(GoogleTranslate.java:194)

What version of the product are you using? On what operating system?
v2

Please provide any additional information below.
Please let me know how to solve this issue. 

Original issue reported on code.google.com by manali.b...@ey.com on 13 Dec 2012 at 10:03

GoogleCodeExporter commented 9 years ago
I am also getting this issue. The weird thing is i a friend of myn found an api 
ver 0.98 and it does not contain the detect class at all.

Original comment by Darkange...@gmail.com on 10 Apr 2014 at 11:52

Attachments: