<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DropBox swift API unsupported tag error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/DropBox-swift-API-unsupported-tag-error/m-p/169860#M6319</link>
    <description>&lt;P&gt;Hi Mark, the exception and&amp;nbsp;unsupported_extension error you shared is actually for the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes12getThumbnailFT4pathSS6formatOCS_5Files15ThumbnailFormat4sizeOS1_13ThumbnailSize9overwriteSb11destinationFTV10Foundation3URLCSo15HTTPURLResponse_S5__GCS_19DownloadRequestFileCS1_22FileMetadataSerializerCS1_24ThumbnailErrorSerializer_" target="_blank" rel="nofollow noreferrer"&gt;files.getThumbnail method&lt;/A&gt;, not &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes8downloadFT4pathSS3revGSqSS_9overwriteSb11destinationFTV10Foundation3URLCSo15HTTPURLResponse_S2__GCS_19DownloadRequestFileCCS_5Files22FileMetadataSerializerCS5_23DownloadErrorSerializer_" target="_blank" rel="nofollow noreferrer"&gt;files.download&lt;/A&gt;. It looks like you're&amp;nbsp;accidentally calling getThumbnail. The files.download method works for .rtf files.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Oct 2016 01:31:42 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-10-01T01:31:42Z</dc:date>
    <item>
      <title>DropBox swift API unsupported tag error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/DropBox-swift-API-unsupported-tag-error/m-p/169859#M6318</link>
      <description>&lt;P&gt;Using the new SwiftyDropbox V2 API. Working well. But noted an error when I don't think it should be one&amp;nbsp;on the download.&lt;/P&gt;
&lt;P&gt;[request-id b192ba37c902b513d81c8fe4c67551d8] API route error - {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; ".tag" = "unsupported_extension";&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;The API reporting the error, this one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;let client = DropboxClientsManager.authorizedClient!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _ = client.files.download(path:sourcePath)&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .response { response, error in&lt;/P&gt;
&lt;P&gt;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?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:29:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/DropBox-swift-API-unsupported-tag-error/m-p/169859#M6318</guid>
      <dc:creator>Mark L.45</dc:creator>
      <dc:date>2019-05-29T09:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: DropBox swift API unsupported tag error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/DropBox-swift-API-unsupported-tag-error/m-p/169860#M6319</link>
      <description>&lt;P&gt;Hi Mark, the exception and&amp;nbsp;unsupported_extension error you shared is actually for the &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes12getThumbnailFT4pathSS6formatOCS_5Files15ThumbnailFormat4sizeOS1_13ThumbnailSize9overwriteSb11destinationFTV10Foundation3URLCSo15HTTPURLResponse_S5__GCS_19DownloadRequestFileCS1_22FileMetadataSerializerCS1_24ThumbnailErrorSerializer_" target="_blank" rel="nofollow noreferrer"&gt;files.getThumbnail method&lt;/A&gt;, not &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/FilesRoutes.html#/s:FC13SwiftyDropbox11FilesRoutes8downloadFT4pathSS3revGSqSS_9overwriteSb11destinationFTV10Foundation3URLCSo15HTTPURLResponse_S2__GCS_19DownloadRequestFileCCS_5Files22FileMetadataSerializerCS5_23DownloadErrorSerializer_" target="_blank" rel="nofollow noreferrer"&gt;files.download&lt;/A&gt;. It looks like you're&amp;nbsp;accidentally calling getThumbnail. The files.download method works for .rtf files.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Oct 2016 01:31:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/DropBox-swift-API-unsupported-tag-error/m-p/169860#M6319</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-10-01T01:31:42Z</dc:date>
    </item>
  </channel>
</rss>

