You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
APIs
2 Topics0 bytes when uploading PDF through API
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.API Error "path/not_found" when creating shared_link
When interacting with the API, I get a path/not_found error. This happens when I upload a file to dropbox using the path /2/files/upload. After that, I create a link to the file using the path /2/sharing/create_shared_link and specify the path_display received after uploading the file. The error occurs very rarely, but it does not allow you to get a link. What could be the problem?15Views0likes0Comments