Library tries to catch JSONDecodeError after importing json from compat. In case that simplejson is installed - everything will work perfectly, but if normal json is imported (on python3 or if simplejson is not present) there is no JSONDecodeError at all.