Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Using the new SwiftyDropbox V2 API. Working well. But noted an error when I don't think it should be one on the download.
[request-id b192ba37c902b513d81c8fe4c67551d8] API route error - {
".tag" = "unsupported_extension";
}
A minor point, it continues anyway... the extension it doesn't like "rtf", which I admit I added to a rich text file cause I needed to parse what sort of file it was and list files API doesn't tell me enough.
The API reporting the error, this one.
let client = DropboxClientsManager.authorizedClient!
_ = client.files.download(path:sourcePath)
.response { response, error in
I there a better way; I noted with the dropbox on my MBP it knows it is a RTF file, with or without the extension?
Hi Mark, the exception and unsupported_extension error you shared is actually for the files.getThumbnail method, not files.download. It looks like you're accidentally calling getThumbnail. The files.download method works for .rtf files.
Hi there!
If you need more help you can view your support options (expected response time for a 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!