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

cloudinary.api.resources_by_asset_folder Error #349

Open
hsk20011 opened this issue May 18, 2023 · 0 comments
Open

cloudinary.api.resources_by_asset_folder Error #349

hsk20011 opened this issue May 18, 2023 · 0 comments
Assignees
Labels

Comments

@hsk20011
Copy link

    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:

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

No branches or pull requests

3 participants