The Community is undergoing a major upgrade. Find out more, ask us questions or share your thoughts here.
Forum Discussion
anandjpr
4 years agoExplorer | Level 3
Issue in getting content of PDF/Doc etc
We are consuming dropbox api from our Delphi App.
We are facing issue in getting PDF from dropbox(Upload,delete is working fine).
Getting Blank PDF
Except text file i am facing i...
- 4 years ago
Thanks! That does show the raw PDF data, indicating that the Dropbox API call itself did succeed and return the file data.
That being the case, it looks like the issue here is with writing that data to the local filesystem. As that's not related to the Dropbox API itself, I'm afraid I can't offer much help with that. You'll need to debug that part of your code, such as the "SaveToFile" method. For instance, make sure you have the right local path and that you have the permissions needed to write to that path.
anandjpr
Explorer | Level 3
Any Update.
Greg-DB
4 years agoDropbox Staff
This shows your request headers and code, but not the response headers or body. Can you inspect the response headers/body?
Also, do not post your access token, since it enables access to your account. You should revoke it since you've posted it publicly.
- anandjpr4 years agoExplorer | Level 3
Sorry i missed to share response in last chat.
I have saved response in txt fine and sharing screenshot with you.
- Greg-DB4 years agoDropbox Staff
Thanks! That does show the raw PDF data, indicating that the Dropbox API call itself did succeed and return the file data.
That being the case, it looks like the issue here is with writing that data to the local filesystem. As that's not related to the Dropbox API itself, I'm afraid I can't offer much help with that. You'll need to debug that part of your code, such as the "SaveToFile" method. For instance, make sure you have the right local path and that you have the permissions needed to write to that path.
- anandjpr4 years agoExplorer | Level 3
Thank you for your response.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 41 minutes agoIf 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 or Facebook.
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!