<?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: application/binary type returned for media files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554904#M26298</link>
    <description>&lt;P&gt;I don't have an update on this yet. I'll check in with the team and follow up here once I have any news.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Nov 2021 15:58:44 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-11-03T15:58:44Z</dc:date>
    <item>
      <title>application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548227#M26103</link>
      <description>&lt;P&gt;Hi, I am using gettemporarylink API to obtain url to the file that can be later played. That url when requested itself, returns wrong Content-Type header for media files. For example audio file with m4a extension now has Content-Type response header set to “application/binary” instead of “audio/mp4” or “audio/mpeg”. Such behaviour has started in the last 24 hours and breaks our entire workflow. No changes were made on our side and it used to work before. Could you please look into this?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 03:42:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548227#M26103</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-10-01T03:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548326#M26105</link>
      <description>&lt;P&gt;Thanks for the report. We'll look into it.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 15:27:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548326#M26105</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-01T15:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548365#M26109</link>
      <description>&lt;P&gt;We've reverted to the previous behavior for newly returned links. I can't guarantee what the exact behavior will be long-term, but I'll follow up once I have an update on that.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 17:26:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548365#M26109</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-01T17:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548381#M26110</link>
      <description>&lt;P&gt;Awesome! Thank you for prompt response and resolution.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 17:56:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/548381#M26110</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-10-01T17:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/553928#M26282</link>
      <description>&lt;P&gt;Hi, looks like the problem is back although it is a bit different now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. When accessing .m4b file with temp link I am getting content-type = "&lt;SPAN&gt;application/octet-stream"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. Files&amp;nbsp;&amp;gt; 100Mb cannot be played using the temp url.&amp;nbsp;Error: Maximum response size reached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem started around Oct 14-15. Please have a look.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 17:34:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/553928#M26282</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-10-29T17:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/553943#M26284</link>
      <description>&lt;P&gt;1. Thanks, we'll check on this.&lt;/P&gt;
&lt;P&gt;2. The "Maximum response size reached" error doesn't appear to be coming from Dropbox itself. I also just tried and I was able to successfully access a file larger than 100 MB via a temporary link retrieved by get_temporary_link, so it looks like this is a client-side issue. You'll need to troubleshoot whatever client you're using to attempt to play that.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 18:44:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/553943#M26284</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-10-29T18:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554028#M26285</link>
      <description>&lt;P&gt;Thank you for looking into this. You are right about #2, it was an error from Postman, sorry about that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I discovered #1 while investigating the bigger issue, that we are currently experiencing. We use default AVPlayer iOS component to play media in the iOS app. It was working fine for years until recently. Now it refuses to play any media from Dropbox, returns an error "&lt;/P&gt;&lt;P&gt;This media format is not supported". This error is quite generic and usually happens when AVPlayer can't play the file for whatever reason. In order to isolate the problem, I tried very basic sample app with AVPlayer, hardcoded url and play button and it refuses to play the file from Dropbox provided the temp url. I can provide a link to the GitHub sample project if that would be of any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was working fine after you reverted the changes to content-type in the generated link. This time the content-type is correct but the AVPlayer still refuses to play any audio file. This started on&amp;nbsp;Oct 14-15.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 07:29:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554028#M26285</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-10-30T07:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554810#M26294</link>
      <description>&lt;P&gt;Hi, is there any update to this problem? It's been impacting many users and I am trying to determine the reason as there were no changes on the client side and it suddenly stopped working. If you need any additional information, please let me know.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 07:11:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554810#M26294</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-03T07:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554904#M26298</link>
      <description>&lt;P&gt;I don't have an update on this yet. I'll check in with the team and follow up here once I have any news.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 15:58:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554904#M26298</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-03T15:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554943#M26304</link>
      <description>&lt;P&gt;We're looking into this, and for reference, we are still now returning a "Content-Type" of "audio/mp4" for .m4a files, and I can confirm we are currently returning "application/octet-stream" for .m4b files. From what we can tell though, we did not previously return a more specific "Content-Type" like "audio/mp4" for .m4b.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you confirm if you are currently seeing an issue only for .m4b files, or for .m4a files as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way, can you more specifically identify what behavior you would need to get this working for your use case?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 18:00:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554943#M26304</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-03T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554948#M26305</link>
      <description>&lt;P&gt;As for the .m4b the correct content-type should be "audio/mp4", because m4b container format is very similar to m4a.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The larger issue I have is the one I described earlier in the thread, namely that urls obtained with getTemporaryLink can no longer be played with standard iOS AVPlayer component. I wasn't able to identify the root cause for that. The content-type for other media formats like mp3 and m4a is correct, but may be something else has changed in the server response on your end. I was hoping you will be able to identify the changes on the backend that happened in that timeframe.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 18:24:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554948#M26305</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-03T18:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554955#M26306</link>
      <description>&lt;P&gt;Ok, thanks. So, as it stands right now, even .m4a and .mp3 files aren't working for you. (I was previously under the impression the first fix was working for those from your earlier responses.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, we unfortunately can't provide support for AVPlayer, since that's not made by Dropbox. We have recently updated the implementation of the links returned by get_temporary_link and we'll be happy to see if we can further update it to accommodate this use case, but we'd need some more specific information as to what behavior is needed. Perhaps you can get some support or documentation from Apple to determine what the requirements are to avoid this "This media format is not supported" error?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 19:29:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554955#M26306</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-03T19:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554960#M26307</link>
      <description>&lt;P&gt;Correct, none of the media formats can be played right now. Unfortunately, there isn't any description about this error in Apple documentation. Last time it was caused by wrong content-type, but now content-type is correct for mp3, m4a, mp4 so there must be something else. Is it possible to identify what has changed in http response headers in October when requesting the file with get_temporary_link?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 19:51:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/554960#M26307</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-03T19:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/555169#M26310</link>
      <description>&lt;P&gt;I'll see if we can track down what may have changed there, but the Dropbox API spec doesn't document or guarantee these particular aspects of these links, so I can't make any promises unfortunately.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Nov 2021 15:58:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/555169#M26310</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-04T15:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/555767#M26329</link>
      <description>&lt;P&gt;Hi, after numerous experiments I found out iOS AVPlayer does not like "X-Content-Security-Policy" field in the response header. It seems like this field has been deprecated and replaced with "Content-Security-Policy" which you already return in response. Is it something that can be fixed?&lt;/P&gt;</description>
      <pubDate>Sun, 07 Nov 2021 08:56:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/555767#M26329</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-07T08:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556095#M26336</link>
      <description>&lt;P&gt;Thanks for sharing this. Can you also share any documentation or output showing that's the issue though, for our reference? I ask because we're still looking into this, but we believe we've found a behavior on our side that, in some cases, would affect the content type that the client is using.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll follow up with any updates on that, but in the meantime it looks like you can also work around this like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;let asset = AVURLAsset(url: url, options:["AVURLAssetOutOfBandMIMETypeKey": "audio/mpeg"])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'd need to come up with a way to dynamically determine the correct MIME type for the file though (e.g., mapping from file extension to MIME type), in place of the "audio/mpeg" here.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 19:23:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556095#M26336</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-08T19:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556101#M26339</link>
      <description>&lt;P&gt;I used a sample app with reverse proxy server on the device. When the file is requested from Dropbox server, the response headers can be altered and then passed to AVPlayer. This way I have determined that without "&lt;SPAN&gt;"X-Content-Security-Policy" AVPlayer is able to play the file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Would source code be helpful?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 19:55:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556101#M26339</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-08T19:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556115#M26340</link>
      <description>&lt;P&gt;I see, thanks. I believe in that kind of setup, the reverse proxy would actually obscure the issue we found, since it's making the request on behalf of the client, instead of the client doing it itself. (And according to a sample I saved from October 1, we were already previously sending 'X-Content-Security-Policy' anyway.)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Nov 2021 20:36:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556115#M26340</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-11-08T20:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556215#M26342</link>
      <description>&lt;P&gt;Thank you for looking into this. If you apply a fix, please let me know so I can try.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2021 06:35:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/556215#M26342</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-09T06:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: application/binary type returned for media files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/557533#M26375</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&amp;nbsp;, do you know when this will be fixed?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Nov 2021 06:08:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/application-binary-type-returned-for-media-files/m-p/557533#M26375</guid>
      <dc:creator>abiluck</dc:creator>
      <dc:date>2021-11-15T06:08:05Z</dc:date>
    </item>
  </channel>
</rss>

