Stichoza / google-translate-php

🔤 Free Google Translate API PHP Package. Translates totally free of charge.
MIT License
1.82k stars 383 forks source link

Error #140

Closed metikulos closed 4 years ago

metikulos commented 4 years ago

Fatal error: Uncaught ErrorException: Client error: GET https://translate.google.com/translate_a/single?client=webapp&hl=en&dt=t&dt=bd&dt=at&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&sl=auto&tl=en&q=Login&ie=UTF-8&oe=UTF-8&multires=1&otf=0&pc=1&trs=1&ssel=0&tsel=0&kc=1&tk=430331.41861 resulted in a 429 Too Many Requests response:

  | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">   | <html>   | <head><meta http-equiv="content-type" content="te (truncated...)   | in /home/skytekgh/public_html/emigroup.skytekgh.com/vendor/stichoza/google-translate-php/src/GoogleTranslate.php:311

I get the above error when i deploy to server, runs for some time and breaks. how do i solve this

Stichoza commented 4 years ago

You fix it by reading readme.