mygpo icon indicating copy to clipboard operation
mygpo copied to clipboard

JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Open sentry-io[bot] opened this issue 4 years ago • 0 comments

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

sentry-io[bot] avatar Jun 22 '20 08:06 sentry-io[bot]