cloudinary / cloudinary/pycloudinary

cloudinary.api.resources_by_asset_folder Error

Open
#349 0 comments 1 reaction 1 assignee Claimed by @atdcloud View on GitHub
question
Dominant language
Python
Stars
262
Forks
134
Avg merge
5h 6m
Merged PRs (30d)
5

Description

res = cloudinary.api.resources_by_asset_folder('prd', tags = True, metadata = True)
print('res=', res)
return res['resources']

Traceback (most recent call last):
File "C:\WPy64-31050\YHB\venv\lib\site-packages\cloudinary-1.32.0-py3.10.egg\cloudinary\api_client\execute_request.py", line 76, in execute_request
result = json.loads(body.decode('utf-8'))
File "C:\WPy64-31050\python-3.10.5.amd64\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\WPy64-31050\python-3.10.5.amd64\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\WPy64-31050\python-3.10.5.amd64\lib\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:

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.