<?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: Uploading issue , Please any one help me . in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Uploading-issue-Please-any-one-help-me/m-p/175040#M6878</link>
    <description>&lt;P&gt;Your HTTP client seems to be overriding the Content-Type you're trying to set. There was another thread with the same issue using&amp;nbsp;RestClient here that should be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/205222763-Not-getting-response-when-I-call-2-files-listfolder-method" rel="nofollow noreferrer"&gt;https://www.dropboxforum.com/hc/en-us/community/posts/205222763-Not-getting-response-when-I-call-2-files-listfolder-method&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2016 22:46:52 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-07-07T22:46:52Z</dc:date>
    <item>
      <title>Uploading issue , Please any one help me .</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Uploading-issue-Please-any-one-help-me/m-p/175039#M6877</link>
      <description>&lt;P&gt;I am beginner in API Devlopment.&lt;BR /&gt;I am trying to upload images, document &amp;amp; files etc. on dropbox through V2 Rest Api method but falied.&lt;BR /&gt;&lt;BR /&gt;Here is my Code&lt;BR /&gt;-----------------------------------------&lt;BR /&gt;&lt;BR /&gt;var client = new RestSharp.RestClient("&lt;A href="https://content.dropboxapi.com/2/files/upload" rel="nofollow noreferrer" target="_blank"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt;");&lt;BR /&gt; var request = new RestRequest(Method.POST); &lt;BR /&gt; request.AddHeader("Dropbox-API-Arg", "{\"path\":\"/Medical Records/"+fileName+"\",\"mode\":{\".tag\":\"overwrite\"}}");&lt;BR /&gt; request.AddHeader("Content-Type", "application/octet-stream");&lt;BR /&gt;&lt;BR /&gt; request.AddHeader("Authorization", "Bearer &amp;lt;AccessToken&amp;gt;");&lt;BR /&gt; request.AddFile("file", Server.MapPath("~/Content/60.jpg"), "image/jpg");&lt;BR /&gt; &lt;BR /&gt; request.Timeout = System.Threading.Timeout.Infinite;&lt;BR /&gt; &lt;BR /&gt; IRestResponse response = client.Execute(request);&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;After execution of above code getting this Error:&lt;BR /&gt;--------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data; boundary=-----------------------------28947758029299". &amp;nbsp;Expecting one of "application/octet-stream", "text/plain; charset=dropbox-cors-hack".&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:31:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Uploading-issue-Please-any-one-help-me/m-p/175039#M6877</guid>
      <dc:creator>Askillt Q.</dc:creator>
      <dc:date>2019-05-29T09:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Uploading issue , Please any one help me .</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Uploading-issue-Please-any-one-help-me/m-p/175040#M6878</link>
      <description>&lt;P&gt;Your HTTP client seems to be overriding the Content-Type you're trying to set. There was another thread with the same issue using&amp;nbsp;RestClient here that should be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropboxforum.com/hc/en-us/community/posts/205222763-Not-getting-response-when-I-call-2-files-listfolder-method" rel="nofollow noreferrer"&gt;https://www.dropboxforum.com/hc/en-us/community/posts/205222763-Not-getting-response-when-I-call-2-files-listfolder-method&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2016 22:46:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Uploading-issue-Please-any-one-help-me/m-p/175040#M6878</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-07T22:46:52Z</dc:date>
    </item>
  </channel>
</rss>

