cloudinary / cloudinary/pycloudinary

resources_by_asset_folder Not working

Open
#386 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
262
Forks
134
Avg merge
5h 6m
Merged PRs (30d)
5

Description

Error parsing server response (404) when function is called

Behaviour - Functions are not working as expected

Error screenshots or Stack Trace
---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/cloudinary/api_client/execute_request.py](https://localhost:8080/#) in execute_request(http_connector, method, params, headers, auth, api_url, **options)
74 try:
---> 75 result = json.loads(body.decode('utf-8'))
76 except Exception as e:

7 frames
JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

GeneralError Traceback (most recent call last)
[/usr/local/lib/python3.10/dist-packages/cloudinary/api_client/execute_request.py](https://localhost:8080/#) in execute_request(http_connector, method, params, headers, auth, api_url, **options)
76 except Exception as e:
77 # Error is parsing json
---> 78 raise GeneralError("Error parsing server response (%d) - %s. Got - %s" % (response.status, body, e))
79
80 if "error" in result:

GeneralError: Error parsing server response (404) - b'\n\n\n\nCloudinary - Page not found\n\n\n\n\n\n\n\n\n\n

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.