Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0 #383

Open
armenzg opened this issue Aug 19, 2022 · 0 comments
Open

requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0 #383

armenzg opened this issue Aug 19, 2022 · 0 comments

Comments

@armenzg
Copy link
Member

armenzg commented Aug 19, 2022

This deployment failed:

>> Waiting on check cloudbuilder:
3:23:45 PM
  [ WORKING ]	Build or step is being executed.
3:23:45 PM
See details: https://console.cloud.google.com/cloud-build/builds/ae47470e-8065-44dd-a212-c7d148fe80d8?project=294472738882
3:23:45 PM
Traceback (most recent call last):
3:23:45 PM
  File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 910, in json
3:23:45 PM
    return complexjson.loads(self.text, **kwargs)
3:23:45 PM
  File "/usr/local/lib/python3.8/json/__init__.py", line 357, in loads
3:23:45 PM
    return _default_decoder.decode(s)
3:23:45 PM
  File "/usr/local/lib/python3.8/json/decoder.py", line 337, in decode
3:23:45 PM
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
3:23:45 PM
  File "/usr/local/lib/python3.8/json/decoder.py", line 355, in raw_decode
3:23:45 PM
    raise JSONDecodeError("Expecting value", s, err.value) from None
3:23:45 PM
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
3:23:45 PM
During handling of the above exception, another exception occurred:
3:23:45 PM
Traceback (most recent call last):
3:23:45 PM
  File "bin/run-task", line 166, in <module>
3:23:45 PM
    main(sys.argv[1], log)
3:23:45 PM
  File "bin/run-task", line 99, in main
3:23:45 PM
    if not checks_are_passing(app, task, log):
3:23:45 PM
  File "bin/run-task", line 50, in checks_are_passing
3:23:45 PM
    check.check(app, task.sha, check_config["config"])
3:23:45 PM
  File "/usr/src/app/freight/checks/github_apps.py", line 55, in check
3:23:45 PM
    check_runs_dict = resp.json()
3:23:45 PM
  File "/usr/local/lib/python3.8/site-packages/requests/models.py", line 917, in json
3:23:45 PM
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
3:23:45 PM
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant