I am using Webflow and Wized to upload a file to Dropbox however when I upload the file the response says size 0 and in dropbox it says 0 bytes and I can't open it.
const contentToCapture = document.querySelector('.pdf-content');
html2canvas(contentToCapture, { scale: 0.75 }).then((canvas) => {
const base64image = canvas.toDataURL('image/png');
const pdf = new jsPDF('p', 'px', [canvas.width, canvas.height]);
pdf.addImage(base64image, 'PNG', 0, 0, canvas.width, canvas.height);
const pdfBlob = pdf.output('blob');
v.pdf_data = pdfBlob;
});Above is how I create the pdf and convert it to a blob. The pdf itself works fine when I download it.


This is how the request is set up.