Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ukanga opened this issue Jul 18, 2023 · 1 comment
Open

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

ukanga opened this issue Jul 18, 2023 · 1 comment

Comments

@ukanga
Copy link
Member

ukanga commented Jul 18, 2023

Sentry Issue:

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  File "requests/models.py", line 971, in json
    return complexjson.loads(self.text, **kwargs)
  File "__init__.py", line 525, in loads
    return _default_decoder.decode(s)
  File "simplejson/decoder.py", line 372, in decode
    obj, end = self.raw_decode(s)
  File "simplejson/decoder.py", line 402, in raw_decode
    return self.scan_once(s, idx=_w(s, idx).end())

JSONDecodeError: Expecting value: line 1 column 1 (char 0)
(6 additional frame(s) were not displayed)
...
  File "oidc/viewsets.py", line 267, in callback
    id_token = client.retrieve_token_using_auth_code(
  File "oidc/client.py", line 132, in retrieve_token_using_auth_code
    f"Failed to retrieve ID Token: {response.json()}"
@ukanga
Copy link
Member Author

ukanga commented Nov 28, 2024

This seems to be linked to a 504 timeout issue or similar response. Perhaps recommend that the user retry later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant