mygpo
mygpo copied to clipboard
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Sentry Issue: GPODDERNET-FH
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
(6 additional frame(s) were not displayed)
...
File "mygpo/users/views/user.py", line 237, in _get_email
resp = requests.get(USERINFO_URL, headers=headers).json()
File "requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None