cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Musicians, convert your MuseScore files to PDF to play music on the go! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

paper document download unspported error

paper document download unspported error

mansi2821
Explorer | Level 4

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 

6 Replies 6

Greg-DB
Dropbox 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.

mansi2821
Explorer | Level 4

can i also export google imported files with same method

mansi2821
Explorer | 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

Greg-DB
Dropbox 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.

mansi2821
Explorer | Level 4

currently i am exporting file how can i get exported data that includes images 

Greg-DB
Dropbox Staff

Images are included in the exported HTML, via an <img> element.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    mansi2821 Explorer | Level 4
What do Dropbox user levels mean?