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.
Forum Discussion
mansi2821
3 years agoExplorer | Level 4
paper document download unspported error
hy
i have paper doc in my dropbox account and when i try to download those documents using dropboxClient.Files.DownloadAsync()
i am facing error
System.AggregateException: One or more errors occurred. ---> Dropbox.Api.ApiException`1[Dropbox.Api.Files.DownloadError]: unsupported_file/..
at Dropbox.Api.DropboxRequestHandler.<Dropbox-Api-Stone-ITransport-SendDownloadRequestAsync>d__15`3.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at InfinniumDropBoxConsumer.Business.InfinniumDropBoxConsumer.DownloadFile(DocumentDetailFromConnector documentDetail, Boolean dataInsight, DateTime modifiedDate, Int32 retry)
---> (Inner Exception #0) Dropbox.Api.ApiException`1[Dropbox.Api.Files.DownloadError]: unsupported_file/..
at Dropbox.Api.DropboxRequestHandler.<Dropbox-Api-Stone-ITransport-SendDownloadRequestAsync>d__15`3.MoveNext(); Request Id: eda9da2f079140abbcf8c81f907debd9<---
is there a way i can download these documents
- Greg-DBDropbox Staff
As discussed in the other thread, for non-downloadable files like this, you should use the "export" functionality instead. In the .NET SDK, that's available as ExportAsync.
- mansi2821Explorer | Level 4
can i also export google imported files with same method
- Greg-DBDropbox Staff
Yes, you would use the export functionality to download any items with files with exportInfo.exportAs set, such as Google docs.
The Dropbox API unfortunately doesn't offer the ability to list or read comments on Dropbox Paper docs, but I'll pass this along as a feature request.
There isn't a separate call for downloading images/attachments. Anything in the Paper doc will be included in the exported data itself.
The /2/paper/docs/download endpoint is an endpoint for downloading legacy Paper docs, that is, Paper docs that are not in the Dropbox filesystem. You can find more information here. For .paper files in the filesystem, you should use the export functionality as discussed above.
- mansi2821Explorer | Level 4
1. how can i download comments of the paper document when i download html it does not give me comments
2. can i get some zip file or something where i can get all the images and attached documents of that paper document
if not how can i get images and other attachments from this html or paper file
and also there is this endpoint available
https://api.dropboxapi.com/2/paper/docs/download
so can't you download paper docs with this endpoint
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 4 hours 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!