We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
IvanIgorevich
2 years agoNew member | Level 2
Re: Save As PDF Through API
Hello! So, I can send my DOCX file to specific directory, where I set converting to PDF manually. And response will return dropbox_id. Then I immediately downloaded this file via that dropbox_id - a...
IvanIgorevich
2 years agoNew member | Level 2
Thanks for answer!
I tried to create this functionality, but can not find pdf file in folder for converting. For some reason
dbx.filesSearchV2({
query: fileName,
options: {
path: folder,
max_results: 1,
},
});
returns `Response failed with a 400 code`, but works correctly in another folders in Dropbox. Ok, I will continue to use LibreOffice, which sometimes refuses to work without any clear reason(
Greg-DB
Dropbox Community Moderator
2 years agoIvanIgorevich When you get a 400 error like that, inspect the error object, as it should contain a more useful error message indicating more specifically why the call failed.
In any case though, as Здравко said, there are other options for listing files and monitoring for changes that may be helpful. Check out the Detecting Changes Guide.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!