I am using Taiga (taiga.io) to handle my projects. I found that there's a python-based API which I am trying to use. I can create items in my projects but I cannot extract anything. When I try to extract data, I keep getting this error:
File "demo.py", line 54, in <module>
projects = api.projects.list()
File "/home/sc/.local/lib/python3.5/site-packages/taiga/models/base.py",
line 41, in list
objects = self.parse_list(result.json())
File "/home/sc/.local/lib/python3.5/site-packages/requests/models.py",
line 892, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I checked the access permissions, the projects slugs (which are there and I can create projects/users stories using the API without any problem!). Still this error appears every time I try to pull info from Taiga.
Any ideas? Thanks all in advance.
Best,
Zimo117