<?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 API Bug: &amp;quot;Restricted Content&amp;quot; Error for Unrestricted Files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232588#M12682</link>
    <description>&lt;P&gt;That was fast! I can confirm that it's fixed - many thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 17 Jul 2017 14:33:06 GMT</pubDate>
    <dc:creator>Keith B.7</dc:creator>
    <dc:date>2017-07-17T14:33:06Z</dc:date>
    <item>
      <title>Dropbox API Bug: "Restricted Content" Error for Unrestricted Files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232555#M12680</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There seems to be an odd bug in the Dropbox API whereby if you try to download a plain text file containing nothing but a period, you receive a "Restricted Content" error and it refuses to download. One of our customers came across this after&amp;nbsp;she had deleted content from a text file in our writing app but had left the full stop in by mistake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reproduction steps:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- I'm using the Objective-C API (API 2).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Upload a plain text UTF-8 file containing nothing other than a period (.) character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Using the API, set up a download task:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;DBDownloadUrlTask *downloadTask = [self.dropboxClient.filesRoutes downloadUrl:dropboxPathToPlainTextFile overwrite:YES destination:pathToSaveLocally];

[downloadTask setResponseBlock:^(id result, id taskError, DBRequestError *genericError, NSURL *destinationURL){
        
	if (result == nil &amp;amp;&amp;amp; genericError != nil)
	{
            	NSLog (@"%@", genericError, nil);
		NSLog (@"taskError", nil);
        }
}];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Expected result: the file should download without problem - it's not restricted but is just a plain text file containing a period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Result: "Restricted content" error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    ".tag" = path;
    path =     {
        ".tag" = "restricted_content";
    };
}
DropboxHttpError[{
    ErrorContent = "path/restricted_content/";
    RequestId = c4ac89c1b2bc6ad61c7255c1ef94a287;
    StatusCode = 409;
    UserMessage = nil;
}];&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:20:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232555#M12680</guid>
      <dc:creator>Keith B.7</dc:creator>
      <dc:date>2019-05-29T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API Bug: "Restricted Content" Error for Unrestricted Files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232585#M12681</link>
      <description>Thanks for the report! This should be fixed now.</description>
      <pubDate>Mon, 17 Jul 2017 14:26:20 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232585#M12681</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-17T14:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox API Bug: "Restricted Content" Error for Unrestricted Files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232588#M12682</link>
      <description>&lt;P&gt;That was fast! I can confirm that it's fixed - many thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2017 14:33:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-API-Bug-quot-Restricted-Content-quot-Error-for/m-p/232588#M12682</guid>
      <dc:creator>Keith B.7</dc:creator>
      <dc:date>2017-07-17T14:33:06Z</dc:date>
    </item>
  </channel>
</rss>

