Create a slideshow
I try to create a slideshow via curl in PHP with the following code but it doesn't work. I get a correct answer from the request with a batch_id and the status as "processing" but then the slideshow is never created and I also don't get any notifications on my webhook
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://api.cloudinary.com/v1_1/xxxx/video/create_slideshow',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => array('resource_type' => 'video','manifest_transformation' => 'fn_render:w_500;h_500;du_25;vars_(sdur_3000;tdur_1500;transition_s:circlecrop;slides_((media_i:wh56ahpljuhni8akgo84);(media_i:rfs0hwjqcnudqlvid4eo)))','api_key' => $api_key,'signature' => $signature,'timestamp' => $timestamp),
));
$result = curl_exec($curl);
curl_close($curl);
-
Hey Sebastian,
Upon checking our logs, it seems that the signature that you pass in your request is incorrect. However, I can see that our servers returned a 401 error and not a 200. Can you please check your logs to ensure I'm looking at the correct requests?
If you prefer continuing the discussion over this matter on a private channel where you can share with us additional information that might be helpful with the investigation, please do so by opening a direct ticket at https://support.cloudinary.com/hc/en-us/requests/new
0
Post is closed for comments.
Comments
1 comment