Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coda.list_columns() #62

Open
najidev opened this issue Jul 20, 2023 · 0 comments
Open

coda.list_columns() #62

najidev opened this issue Jul 20, 2023 · 0 comments

Comments

@najidev
Copy link

najidev commented Jul 20, 2023

Traceback (most recent call last):
File "/var/www/b2b/audiosmp3.py", line 77, in
coda_column_id_duration = codapi.find_column_id(
File "/var/www/b2b/codapi.py", line 82, in find_column_id
columns_data = coda.list_columns(doc_id=doc_id, table_id_or_name=table_id_or_name)[
File "/home/naji/.local/lib/python3.10/site-packages/codaio/coda.py", line 413, in list_columns
return self.get(
File "", line 2, in get
File "/home/naji/.local/lib/python3.10/site-packages/codaio/coda.py", line 37, in handle_response
response = func(*args, **kwargs)
File "/home/naji/.local/lib/python3.10/site-packages/codaio/coda.py", line 122, in get
if limit or not r.json().get("nextPageLink"):
File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/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 2 column 1 (char 1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant