shriyarao91 / google-api-translate-java

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

hi #122

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

Hi,
I have got this error. 

run:
java.lang.Exception: [google-api-translate-java] Referrer is not set. Call 
setHttpReferrer().
        at com.google.api.GoogleAPI.validateReferrer(GoogleAPI.java:67)
        at com.google.api.translate.Translate.execute(Translate.java:63)
        at test.GoogleTranslator.main(GoogleTranslator.java:19)
BUILD SUCCESSFUL (total time: 0 seconds

Best Regards,
Ahsan

Original issue reported on code.google.com by ahsan.mo...@gmail.com on 14 Jan 2011 at 10:14

GoogleCodeExporter commented 8 years ago
Set the referrer to the URL of your website.

Original comment by rich.mid...@gmail.com on 1 Feb 2011 at 10:16