electrasmart-custom-component icon indicating copy to clipboard operation
electrasmart-custom-component copied to clipboard

electrasmart-list-devices fails with error TypeError: object of type 'NoneType' has no len()

Open danielgoldfeld opened this issue 1 year ago • 0 comments

After getting the IMEI and TOKEN I'm running the electra-list-devices script with the IMEI and TOKEN but getting the following error: Traceback (most recent call last): File "/usr/local/bin/electrasmart-list-devices", line 8, in <module> sys.exit(list_devices()) File "/usr/local/lib/python3.8/dist-packages/electrasmart/cli.py", line 46, in list_devices devices = get_devices(args.imei, args.token) File "/usr/local/lib/python3.8/dist-packages/electrasmart/client.py", line 129, in get_devices assert "devices" in result and len( TypeError: object of type 'NoneType' has no len()

danielgoldfeld avatar Dec 24 '23 08:12 danielgoldfeld