JSONDecodeError: using googletrans module JSONDecodeError: using googletrans module json json

JSONDecodeError: using googletrans module


Question: I checked manual of this module and the only limit I could find was that it only limits the length of the word.


Ther are a few other limits!

From Googletrans 2.3.0 documentation

Note on library usage

  • Due to limitations of the web version of google translate, this API does not guarantee that the library would work properly at all times. (so please use this library if you don’t care about stability.)
  • If you want to use a stable API, I highly recommend you to use Google’s official translate API.
  • If you get HTTP 5xx error or errors like #6, it’s probably because Google has banned your client IP address.


The error is misleading, it happens because you get rejected by google due to numerous requests. I could solve this problem in two different ways:

  1. Use a VPN and change your IP. It will work again.
  2. Go to google and search for something. You will receive a message and a reCAPTCHA to solve. After you do this, it will work again for some time.