Tools to Capture and Convert the Web
GrabzIt's Online Community

Unable to export to dropbox

Ask questions on how to capture or convert web pages or HTML into images, CSV, PDF or DOCX documents as well on how to convert videos into animated GIF's using our API.

Hi, I wat to upload my file to dropbox in nodejs but its not working.

var options = {"exportURL":"dropbox://"};
client.html_to_pdf(`"${html_document}"`, options);
client.save("http://www.example.com/handler", function (error, id){
if (error != null){
throw error;
    }
    console.log(id);
 });

i just want to upload my file to created pdf directly to dropbox but this is not working. Can you help me out.

 

Thanks,

 

Asked by Himanshi Gupta on the 2nd of September 2020

The option used should be exportUrl not exportURL.

Answered by GrabzIt Support on the 2nd of September 2020