<?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 usersGetCurrentAccount doesn't work in MS Edge in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/usersGetCurrentAccount-doesn-t-work-in-MS-Edge/m-p/270197#M15960</link>
    <description>&lt;P&gt;usersGetCurrentAccount doesn't work in MS Edge. I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in call to API function "users/get_current_account": Bad HTTP "Content-Type" header: "text/plain;charset=UTF-8".&amp;nbsp; Expecting one of "application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't happen in Firefox and Chrome.&amp;nbsp;Seems like Edge adds "content-type: text/plain; charset=UTF-8" request header. My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var dbx_options = {
	clientId: "",
	accessToken: ""
};

var dbxClient = new Dropbox.Dropbox(dbx_options);

dbxClient.usersGetCurrentAccount()
	.catch(function(err) {
		console.error(err);
	})
	.then(function (acc) {
		console.log(acc);
	});&lt;/PRE&gt;</description>
    <pubDate>Wed, 29 May 2019 09:14:25 GMT</pubDate>
    <dc:creator>automol</dc:creator>
    <dc:date>2019-05-29T09:14:25Z</dc:date>
    <item>
      <title>usersGetCurrentAccount doesn't work in MS Edge</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/usersGetCurrentAccount-doesn-t-work-in-MS-Edge/m-p/270197#M15960</link>
      <description>&lt;P&gt;usersGetCurrentAccount doesn't work in MS Edge. I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Error in call to API function "users/get_current_account": Bad HTTP "Content-Type" header: "text/plain;charset=UTF-8".&amp;nbsp; Expecting one of "application/json", "application/json; charset=utf-8", "text/plain; charset=dropbox-cors-hack".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This doesn't happen in Firefox and Chrome.&amp;nbsp;Seems like Edge adds "content-type: text/plain; charset=UTF-8" request header. My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var dbx_options = {
	clientId: "",
	accessToken: ""
};

var dbxClient = new Dropbox.Dropbox(dbx_options);

dbxClient.usersGetCurrentAccount()
	.catch(function(err) {
		console.error(err);
	})
	.then(function (acc) {
		console.log(acc);
	});&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 May 2019 09:14:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/usersGetCurrentAccount-doesn-t-work-in-MS-Edge/m-p/270197#M15960</guid>
      <dc:creator>automol</dc:creator>
      <dc:date>2019-05-29T09:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: usersGetCurrentAccount doesn't work in MS Edge</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/usersGetCurrentAccount-doesn-t-work-in-MS-Edge/m-p/270223#M15968</link>
      <description>Thanks for the report! We'll look into it.</description>
      <pubDate>Tue, 27 Mar 2018 17:03:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/usersGetCurrentAccount-doesn-t-work-in-MS-Edge/m-p/270223#M15968</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-27T17:03:53Z</dc:date>
    </item>
  </channel>
</rss>

