0
votes

cloudinary.uploader.upload("Mokhtar_Rahimi.jpg",api_key=API_KEY,api_secret=API_SECRET)

throwing cloudinary.api.Error: ('Error parsing server response (%d) - %s. Got - %s', 404, , ValueError('Expecting value: line 1 column 1 (char 0)',))

1

1 Answers

0
votes

The API_Key and API_Secret should not be set within the upload method but rather in a configuration object or a yml file (see doc). The upload method should include a required file parameters and upload options (see doc).