-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi @duckwc,
thank you for your great work...
I don't get that json file from google.it what am i doing wrong? Tested System MacOS and WIN11...
Thank you for your help.
Traceback (most recent call last):
File "/Users/mod25/Library/Python/3.9/lib/python/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 2 (char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/mod25/GitHub/ECAMpy/webserver.py", line 360, in
lankey = get_lankey(access_token)
File "/Users/mod25/GitHub/ECAMpy/webserver.py", line 171, in get_lankey
response = data.json()
File "/Users/mod25/Library/Python/3.9/lib/python/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 2 (char 1)