API calls to Create a Folder and Add Collaborators
AnsweredI have this issue where when I make the API call to create a folder, it works through Postman but through the terminal it will on and off. I mostly get an error like this:
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 feel like this might have to do with authorization but I cannot wrap my head around it. Any help on this please??
-
Official comment
Hi Ruqia,
Would you mind sharing your code with me?
Thanks,
Alex, Box Developer Advocate
Comment actions
Please sign in to leave a comment.
Comments
2 comments