Hello! I am trying to create a very simple script that creates a new user. I have been following the Jira Cloud platform REST API documentation
and copied the Create user script for Python. When I try running it, I receive the following error:
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/lib/python3.8/json/__init__.py", line 357, in loads
return _default_decoder.decode(s)
File "/opt/anaconda3/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/opt/anaconda3/lib/python3.8/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)
I'm not quite sure what I am doing wrong. The only portion of the script I'm really changing are the URL, email addresses, and API tokens. Any and all help is greatly appreciated!