Failed to post to Medium
Returned error message below
"JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/site-packages/requests/models.py\", line 971, in json
return complexjson.loads(self.text, **kwargs)
File \"/home/apierre/.pyenv/versions/3.10.4/lib/python3.10/json/__init__.py\", line 346, in loads
return _default_decoder.decode(s)
File \"/home/apierre/.pyenv/versions/3.10.4/lib/python3.10/json/decoder.py\", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File \"/home/apierre/.pyenv/versions/3.10.4/lib/python3.10/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 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/site-packages/jupyter_to_medium/_bundler.py\", line 71, in upload
data = publish(**kwargs)
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/site-packages/jupyter_to_medium/_publish_to_medium.py\", line 449, in publish
p.main()
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/site-packages/jupyter_to_medium/_publish_to_medium.py\", line 306, in main
self.author_id = self.get_author_id()
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/site-packages/jupyter_to_medium/_publish_to_medium.py\", line 134, in get_author_id
return r.json()[\"data\"][\"id\"]
File \"/home/apierre/Dev/tuto-frozenlake/.direnv/python-3.10.4/lib/python3.10/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 1 (char 0)
"
Hi there,
I get a similar error as https://github.com/dexplo/jupyter_to_medium/issues/45:
Any idea what's happening?