Questions tagged [cloudconvert]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
1 answer
1k views

Using CloudConvert API in WordPress

I am trying to use the CloudConvert API within a custom WordPress plugin. What I'd like to do is initialise all of the CloudConvert API stuff just once, on activation, and then be able to use it ...
Jo Batkin's user avatar
  • 108
5 votes
2 answers
7k views

Resize videos with ffmpeg - Keep aspect ratio

I'm trying to write a script for a telegram userbot that can convert any video/animation to a .mp4. I already have it so the script communicates and utilizes the API of cloudconvert.com. Now my ...
ColinShark's user avatar
  • 1,049
3 votes
2 answers
51 views

Cloudconvert capture-website does not respect zoom or page_width

To capture more details on a Javascript website I tried increasing page_width/page_heigth or decreasing zoom. Yet I get no change in the resulting jpg file. API docs https://cloudconvert.com/api/v2/...
Aleksandr Levchuk's user avatar
2 votes
3 answers
938 views

How to add a border to a transparent PNG using ImageMagick, while preserving transparency?

I am trying to add a 10px red border to a transparent PNG using ImageMagick, while preserving any existing transparency that might exist within the image. Here is my source image: If you download ...
Derrick Miller's user avatar
2 votes
2 answers
1k views

CloudConvert API v2 The tasks field is required

I'm trying to set up the CUI, but when I try to send a request, I get a code error Uncaught CloudConvert\Exceptions\HttpClientException: tasks: The tasks field is required I need to send a file for ...
Denis Mak's user avatar
2 votes
1 answer
1k views

Verify HMAC Hash Using Cloudflare Workers

I'm trying to verify a HMAC signature received from a WebHook. The details of the WebHook are https://cloudconvert.com/api/v2/webhooks#webhooks-events This says that the HMAC is generated using ...
markpirvine's user avatar
  • 1,495
2 votes
0 answers
122 views

Cloud Convert job error "started too many jobs at once"

I'm sending files to a php script from an html form. In the php script, I'm getting the temp file location and trying to convert it from a jpg to png. I'm getting this error from the server when ...
Mike's user avatar
  • 165
2 votes
2 answers
473 views

API CloudConvert curl request PHP

I would like to test a very simple case with the API CloudConvert with a curl request. I want to import the file essaiFichier.txt with a curl request. I get a response in Json with a status "waiting". ...
Pascal's user avatar
  • 59
2 votes
1 answer
409 views

CloudConvert html to docx page breaks

I'm using CloudConvert.com to convert an HTML report in my ASP.Net MVC site into a Docx file. It works fine except that I can't figure out how to get the resulting Docx to use the page breaks from the ...
Steve Hiner's user avatar
  • 2,523
1 vote
2 answers
391 views

CloudConvert conversion API - PDF to PNG using Google Apps Script

I'm a Google Apps Script Developer and a beginner with API integrations. I'm attempting to convert a PDF file stored in Google Drive to PNG format and save it back to the same folder. For this purpose,...
Saud Malik's user avatar
1 vote
1 answer
417 views

Resizing image with ImageMagick and CloudConvert

I'm trying to upload image to CloudConvert, convert it to PNG and resize it with ImageMagick. import CloudConvert from 'cloudconvert'; const cloudConvert = new CloudConvert('api_key'); let job = ...
o..o's user avatar
  • 1,799
1 vote
1 answer
1k views

Laravel route as API callback: How to avoid the "Response content must be a string or object" error?

In my Laravel 5.2 application, I'm using CloudConvert to convert my files. I've implemented asynchronous conversion, which requires a public callback URL to my site. Like this: public function upload(...
lesssugar's user avatar
  • 15.5k
1 vote
1 answer
475 views

CloudConvert Combine Docx and PDF

Im using the CloudConvert NodeJS Package. I have a process that grabs a PDF from a remote server and then generates a docx dynamically from a template. I am attempting to use CloudConvert to combine ...
Jacob Langlois's user avatar
1 vote
1 answer
1k views

How to use CloudConvert API with PHP SDK to download a conversion as multiple files?

I'm trying to use the CloudConvert API with PHP to convert PDFs to HTML and it works but so far I can only receive the html file with all the assets (img, css, js, font) embedded within the html file. ...
kk64738's user avatar
  • 314
1 vote
1 answer
1k views

How do I send nested json POST request in java using jersey?

I am using a document converter api called cloudconvert. They don't have an official java library, but a third party java option. I needed a little customization so I cloned the github project and ...
tylerBrignone's user avatar
1 vote
0 answers
157 views

CloudConvert API import/upload task always marked as "Waiting for Upload"

This is my first time using the CloudConvert API, and I attempting to perform HTML to PDF file conversion. I have read/followed the official documentation as well used the provided "Job Builder,&...
Jerry Will's user avatar
1 vote
1 answer
673 views

Cloudconvert - Invalid signature error when using request-promise to upload via API

I'm attempting to upload a pdf through the cloudconvert API using nodeJS and request-promise. The request to get the upload URL and parameters is successful, but when I attempt to pass the data I get ...
sheltam264's user avatar
1 vote
2 answers
659 views

can't publish cloudconvert API in laravel

I want to use cloudconvert API in laravel but when I run php artisan vendor:publish no cloudconvert.php file is created in config folder. I am following this link https://github.com/robbiepaul/...
Subhash's user avatar
  • 21
1 vote
1 answer
713 views

Using Cloud Convert API with CodeIgniter 2.1

Does anyone have any experience using the cloudconvert-php wrapper? Here is the GitHub page for it: https://github.com/cloudconvert/cloudconvert-php. I have installed it using composer, and updated ...
jldavis76's user avatar
  • 812
0 votes
1 answer
1k views

Cloud Storage file convert task in CloudConvert returns "message":"Unauthenticated

I have excel xls files in GCS which I am trying to convert to csv using cloudconvert API. As such I am using the job builder in v2 API to create the necessary curl for extracting file from GCS, ...
RaptorX's user avatar
  • 119
0 votes
1 answer
199 views

Error converting raw HTML input into a .doc file with cloudconvert

I have html text i want to convert into a doc file. I tried the CloudConvert API console ( https://cloudconvert.com/api/convert/html-to-doc ) to generate a request. In Code Snippets > HTML form this ...
iHaveacomputer's user avatar
0 votes
1 answer
745 views

Calling cloudconvert API inside my REST API

I have created a test function in my REST API (using the SLIM framework) for testing my implementation of a wrapper class for the cloudconvert API. $app->get('/test', 'authenticate', function() ...
DTH's user avatar
  • 1,133
0 votes
1 answer
4k views

Cloudconvert File not found (upload failed)

I plan on using cloudconverts API API for converting docx files to pdf but im stuck with a File not found (upload failed) error each time i have started a conversion process and request the status of ...
DTH's user avatar
  • 1,133
0 votes
0 answers
7 views

How to use CloudConvert in Javascript

I am trying to insert API of CloudConvert but I didn't run it. I have got a 401 error. I have a function that create a excel (.xlsx) but when I click this function, I want to convert to .pdf format. ...
frontendciyim's user avatar
0 votes
0 answers
156 views

CloudConvert API returning 401 error when converting PDF to Word with JavaScript

I am trying to use the CloudConvert API to convert a PDF file to a Word document using JavaScript, but I am getting a 401 error when making the request. I have checked that my API key is correct and ...
Elliot Brenya Saerfo's user avatar
0 votes
1 answer
94 views

CloudConvert API - When converting PDF to PNG, how do I know how many pages have been converted

When using CloudConvert to convert a PDF to PNGs, ie, there is more then one page in the PDF, CloudConvert will add a '-1' / '-2' to the end of each fileName ( prior to the file extension, ie 'my-...
user3094755's user avatar
  • 1,559
0 votes
1 answer
327 views

cloundconvert api v2 in php return The tasks field is required

We are trying to update to cloudconvert api v2 as the v1 is not working anymore from january 2022. I have been following their code and even used their online builder, which seems to work, but when ...
Martin's user avatar
  • 58
0 votes
1 answer
176 views

cloudconvert API NOT working with netlify Serverless function

I was using cloudconvert api from node JS, which was working fine when I hosted in heroku. But when I made netlify serverless function it is returning error. Is it because serverless function exits ...
Raghu Vallikkat's user avatar
0 votes
1 answer
131 views

Cloudconvert v2 ,Trying to get thumbnail from mp4 file

In cloudconvert api v2 , i want to get thumbnail from mp4 video, in v1 there was option for it,but in v2 cant find solution
givi's user avatar
  • 11
0 votes
0 answers
96 views

How to reference to an image in order to upload it to CloudConvert

I want to use Composer's PHP wrapper to upload an image to CloudConvert. This image will come from a html form which users will fill. In the array that CloudConvert's start() function uses to upload a ...
code-slightly-red's user avatar
0 votes
1 answer
949 views

How to use CloudConvert API

I'm trying to upload an image to CloudConvert, using a PHP wrapper, for format conversion. My short test html/php code is: <html> <body> //html form... <?php require __DIR__ . '/...
code-slightly-red's user avatar
0 votes
1 answer
373 views

Class not found error when using CloudConvert to combine PDFs using PHP

I am trying to combine 3 PDFs into one using CloudConvert. I followed the examples on their website, but I keep getting an Class 'net\websitename\libraries\CloudConvert\Api' not found error. I am ...
PortyR's user avatar
  • 355
0 votes
1 answer
606 views

trying to convert docx into pdf on s3 using cloudconvert-api in nodejs

I am trying to convert docx file to pdf while uploading on s3 spaces using cloudconvert api in nodejs. When I run my code, it is uploading docx file but the conversion is not happening and it is not ...
mustafa shaikh's user avatar
0 votes
2 answers
254 views

Laravel job overwriting other jobs?

I'm not too sure how to word this one, but I've got a job called uploadFile, which uses CloudConvert to convert an uploaded file (e.g PDF) to a JPG. Used in isolation, it all works great. I can ...
MitchEff's user avatar
  • 1,447
0 votes
1 answer
2k views

Dropzone.js, how to refresh the page after action url is terminated

I use Dropzone.js to upload files to my server. I Create dropzones programmatically inside an existing form. My "url" parameter send the $_FILES array to my dropzone.php file who send the files ...
Dimitri Lekien's user avatar
0 votes
1 answer
1k views

PhP - CloudConvert: Peer certificate cannot be authenticated with known CA certificates.

I'm trying to use CloudConvert API in PhP and I'm getting the following error: CURLE_SSL_CACERT (60) Peer certificate cannot be authenticated with known CA certificates. Reading their API source ...
André Luiz's user avatar
  • 6,722
0 votes
1 answer
1k views

Maximum execution time of 120 seconds exceeded laravel 5.2

I want to convert some GIFs to mp4. I tried to use CloudConvert, but when I installed the packages and configure the curl.cainfo I get that message that says FatalErrorException in CurlFactory.php ...
Quantumass soufiane's user avatar
0 votes
0 answers
876 views

CloudConvert via Laravel wrapper: converted file not saved on local disk

I'm trying out a Laravel wrapper for CloudConvert, so I'm using one of the examples from GitHub to check the basic file conversion. My code is the following: $path = storage_path('app'); CloudConvert:...
lesssugar's user avatar
  • 15.5k
-1 votes
1 answer
454 views

CloudConvert job returning null results on export, all tasks listed as waiting

I am trying to use cloud convert to convert a pdf into a docx file. when I do this on the job builder, I can see the file download link once the export task is finished. but in Node when I log the job ...
Emil C.'s user avatar
  • 101
-2 votes
1 answer
1k views

HTTP request to Cloud-Convert not working

I am trying to use fetch to POST an API call to Cloud Convert and getting the following error: message: "The given data was invalid." code: "INVALID_DATA" errors: {...} tasks: Array(1) 0: "The tasks ...
Mennyg's user avatar
  • 330