<?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 Dropbox-Uploader API - Upload Error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Uploader-API-Upload-Error/m-p/587806#M27373</link>
    <description>&lt;P&gt;Hello, I have created an APP for API uploads and have given the APP read/write permissions for files.&amp;nbsp; I have run the dropbox configuration with my keys and tokens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The command I run from my linux box is:&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;./dropbox_uploader.sh upload sr-s31-4.txt TAC/sr-s31-4.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;The error I get is:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Some error occurred. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_debug.'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;I have attempted to format the upload command multiple ways but the error remains the same.&lt;BR /&gt;&lt;BR /&gt;Here's the error output from debug when running with -d:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;HTTP/1.1 100 Continue&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;HTTP/1.1 400 Bad Request&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Cache-Control: no-cache&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Security-Policy: sandbox allow-forms allow-scripts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Content-Type-Options: nosniff&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Type: text/plain; charset=utf-8&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Accept-Encoding: identity,gzip&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Date: Fri, 01 Apr 2022 21:51:20 GMT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Server: envoy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Length: 158&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Strict-Transport-Security: max-age=31536000; includeSubDomains; preload&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Robots-Tag: noindex, nofollow, noimageindex&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Vary: Accept-Encoding&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Dropbox-Response-Origin: far_remote&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Dropbox-Request-Id: ee397548460f46b99728da9a31c68099&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Error in call to API function "files/upload": Invalid authorization value in HTTP header "Authorization": "Bearer".&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Expecting "Bearer &amp;lt;oauth2-access-token&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 20:00:10 GMT</pubDate>
    <dc:creator>Slidersn21</dc:creator>
    <dc:date>2022-04-15T20:00:10Z</dc:date>
    <item>
      <title>Dropbox-Uploader API - Upload Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Uploader-API-Upload-Error/m-p/587806#M27373</link>
      <description>&lt;P&gt;Hello, I have created an APP for API uploads and have given the APP read/write permissions for files.&amp;nbsp; I have run the dropbox configuration with my keys and tokens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The command I run from my linux box is:&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;./dropbox_uploader.sh upload sr-s31-4.txt TAC/sr-s31-4.txt&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;The error I get is:&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Some error occurred. rerun the script with "-d" option and check the output and logfile: /tmp/du_resp_debug.'&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;I have attempted to format the upload command multiple ways but the error remains the same.&lt;BR /&gt;&lt;BR /&gt;Here's the error output from debug when running with -d:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;HTTP/1.1 100 Continue&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;HTTP/1.1 400 Bad Request&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Cache-Control: no-cache&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Security-Policy: sandbox allow-forms allow-scripts&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Content-Type-Options: nosniff&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Type: text/plain; charset=utf-8&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Accept-Encoding: identity,gzip&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Date: Fri, 01 Apr 2022 21:51:20 GMT&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Server: envoy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Content-Length: 158&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Strict-Transport-Security: max-age=31536000; includeSubDomains; preload&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Robots-Tag: noindex, nofollow, noimageindex&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Vary: Accept-Encoding&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Dropbox-Response-Origin: far_remote&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;X-Dropbox-Request-Id: ee397548460f46b99728da9a31c68099&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;Error in call to API function "files/upload": Invalid authorization value in HTTP header "Authorization": "Bearer".&lt;SPAN class=""&gt;&amp;nbsp; &lt;/SPAN&gt;Expecting "Bearer &amp;lt;oauth2-access-token&amp;gt;"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 20:00:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Uploader-API-Upload-Error/m-p/587806#M27373</guid>
      <dc:creator>Slidersn21</dc:creator>
      <dc:date>2022-04-15T20:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox-Uploader API - Upload Error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Uploader-API-Upload-Error/m-p/588289#M27387</link>
      <description>&lt;P&gt;Based on the error output you shared, it looks like your app isn't setting the access token. That is, the "Authorization" header value should be "Bearer ACCESSTOKEN" (with ACCESSTOKEN being your actual access token), but the app is only sending "Bearer" (without an access token). You'll need to have the app set the access token in that header.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 16:50:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Dropbox-Uploader-API-Upload-Error/m-p/588289#M27387</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-04-04T16:50:19Z</dc:date>
    </item>
  </channel>
</rss>

