Closed pinguinson closed 3 years ago
@pinguinson , thank you for reporting the issue!
upload_image
is an internal function that was accidentally exported to the CLI
, please use upload
command instead, as follows:
cld -v DEBUG -C demo uploader upload ~/img/sample.jpg folder="demo"
We will remove upload_image
function in the future to avoid confusion.
@const-cloudinary uploader upload
works like a charm, thanks!
Bug report for Cloudinary CLI
Before proceeding, please update to the latest version and test if the issue persists
Describe the bug in a sentence or two.
Upload fails with
Object of type CloudinaryImage is not JSON serializable
, even though other methods (search, for example) work fine.Issue Type (Can be multiple)
Steps to reproduce
-
Error screenshots or Stack Trace (if applicable)
Operating System
Environment and Frameworks (fill in the version numbers)
Repository
-