<?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: Saver does not upload image file to dropbox, only opens the image in new tab. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771895#M33756</link>
    <description>&lt;P&gt;This is the html for my button:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&amp;amp;amp;ccb=1-7&amp;amp;amp;_nc_sid=18de74&amp;amp;amp;_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&amp;amp;amp;_nc_ht=scontent-bos5-1.cdninstagram.com&amp;amp;amp;edm=ANo9K5cEAAAA&amp;amp;amp;oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&amp;amp;amp;oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"&amp;gt;Save to Dropbox2&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;clicking on this button only opens a new tab and displays the image. It does not upload the file to Dropbox&lt;/P&gt;</description>
    <pubDate>Mon, 20 May 2024 16:03:48 GMT</pubDate>
    <dc:creator>dwWithCat</dc:creator>
    <dc:date>2024-05-20T16:03:48Z</dc:date>
    <item>
      <title>Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771370#M33740</link>
      <description>&lt;P&gt;Trying to use Saver on Instagram files. If I use the API like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;fetch("/api/dropboxupload", {
        method: "POST",
        headers: {
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          url: YOUR_FILE_URL,
          filename: YOUR_FILE_NAME,
          accessToken: accessToken.DropboxToken,
        }),
      })&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am successful. If I uninstall Dropbox from my node app and use Saver like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;      &amp;lt;a
        href={YOUR_FILE_URL}
        data-filename={YOUR_FILE_NAME}
        className="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"
      &amp;gt;
        Save to Dropbox2
      &amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All that happens is that the image opens in a new tab in the browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Popups are allowed in both Safari and Chrome for dropbox.com.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 18:41:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771370#M33740</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-17T18:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771383#M33742</link>
      <description>&lt;P&gt;Your first code snippet shows you POSTing some information to your server, not directly to the Dropbox API, so it's unclear what that does. Presumably you then have code that calls &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-save_url" target="_blank"&gt;the /2/files/save_url Dropbox API endpoint&lt;/A&gt;. That offers essentially the same functionality as the Dropbox Saver, but using a different interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your second code snippet, where you're trying to use &lt;A href="https://www.dropbox.com/developers/saver" target="_blank"&gt;the Dropbox Saver&lt;/A&gt;, I see you're setting an attribute "className" but that should actually be "class" as &lt;A href="https://www.dropbox.com/developers/saver#button" target="_blank"&gt;documented here&lt;/A&gt;. By the way, you shouldn't set "dropbox-dropin-btn" and "dropbox-dropin-default" yourself; the Dropbox Saver script will do that automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, make sure you have the script tag loaded as covered in &lt;A href="https://www.dropbox.com/developers/saver#setup" target="_blank"&gt;the Setup section of the documentation&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 19:23:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771383#M33742</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-17T19:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771441#M33743</link>
      <description>The first snippet succeeds. It’s code from my api Endpoint. The second snippet is my Saver anchor tag with the same data as in the first snippet. The url is a link to an Instagram image. The only difference that I can see between the data in the two snippets is the access token in the api method</description>
      <pubDate>Fri, 17 May 2024 22:38:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771441#M33743</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-17T22:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771443#M33744</link>
      <description>Gemini AI said that Saver won’t upload an image file from a url, that it has to be a file located on my machine</description>
      <pubDate>Fri, 17 May 2024 22:40:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771443#M33744</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-17T22:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771454#M33745</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1837981"&gt;@dwWithCat&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Dropbox Saver can do different things (data as a nature). Not everything is fully documented but you can see an example &lt;A title="Upload tool" href="https://zdravkogarmev.bubbleapps.io/version-test/saver" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. There you can see how different types of data may be handled by Dropbox Saver. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 23:22:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771454#M33745</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-05-17T23:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771824#M33751</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1837981"&gt;@dwWithCat&lt;/a&gt; In order to successfully use the Saver, make sure you're configuring the attributes, etc. as &lt;A href="https://www.dropbox.com/developers/saver#button" target="_blank"&gt;documented&lt;/A&gt;. Please refer to my previous message for a few specifics to check to make sure you configure this correctly. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, the Saver does support uploading image files from URLs.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 12:32:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771824#M33751</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-20T12:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771895#M33756</link>
      <description>&lt;P&gt;This is the html for my button:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&amp;amp;amp;ccb=1-7&amp;amp;amp;_nc_sid=18de74&amp;amp;amp;_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&amp;amp;amp;_nc_ht=scontent-bos5-1.cdninstagram.com&amp;amp;amp;edm=ANo9K5cEAAAA&amp;amp;amp;oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&amp;amp;amp;oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"&amp;gt;Save to Dropbox2&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;clicking on this button only opens a new tab and displays the image. It does not upload the file to Dropbox&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:03:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771895#M33756</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-20T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771897#M33757</link>
      <description>&lt;P&gt;This is in the head tag:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="erwx9osh8i78x25"&amp;gt;&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 20 May 2024 16:07:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771897#M33757</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-20T16:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771902#M33758</link>
      <description>&lt;P&gt;use this button:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&amp;amp;amp;ccb=1-7&amp;amp;amp;_nc_sid=18de74&amp;amp;amp;_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&amp;amp;amp;_nc_ht=scontent-bos5-1.cdninstagram.com&amp;amp;amp;edm=ANo9K5cEAAAA&amp;amp;amp;oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&amp;amp;amp;oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"&amp;gt;Save to Dropbox2&amp;lt;/a&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;the other one expired.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:25:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771902#M33758</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-20T16:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771903#M33759</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1837981"&gt;@dwWithCat&lt;/a&gt; I just tried this and the Saver button was successfully built and clicking it successfully launched the Saver, not a new tab showing the image:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;

	&amp;lt;head&amp;gt;

		&amp;lt;script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="erwx9osh8i78x25"&amp;gt;&amp;lt;/script&amp;gt;

	&amp;lt;/head&amp;gt;

	&amp;lt;body&amp;gt;

		&amp;lt;a href="https://scontent-bos5-1.cdninstagram.com/v/t51.29350-15/428411950_339418955083101_368199220363993675_n.jpg?_nc_cat=102&amp;amp;amp;ccb=1-7&amp;amp;amp;_nc_sid=18de74&amp;amp;amp;_nc_ohc=0ce-NRUUU5sQ7kNvgEM71DQ&amp;amp;amp;_nc_ht=scontent-bos5-1.cdninstagram.com&amp;amp;amp;edm=ANo9K5cEAAAA&amp;amp;amp;oh=00_AYArNjV13Xrqx0ES6GTEp2oGvbNtOkDp5MpdqcaCz1ur0A&amp;amp;amp;oe=66514ADB" data-filename="_everything_in_my_feed_begins_with_g__.jpg" class="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"&amp;gt;Save to Dropbox2&amp;lt;/a&amp;gt;

	&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this isn't working for you, please share a live sample page URL displaying the issue so we can take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 16:29:53 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771903#M33759</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-20T16:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771990#M33764</link>
      <description>&lt;P&gt;&lt;A href="https://art-folio.vercel.app/exhibit/16" target="_blank" rel="noopener"&gt;exhibit page&lt;/A&gt;&amp;nbsp;the images in the grid on this page have buttons to save them to Dropbox. They do not work for me - they only open a new tab and display the image there.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 21:58:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/771990#M33764</guid>
      <dc:creator>dwWithCat</dc:creator>
      <dc:date>2024-05-20T21:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/772000#M33765</link>
      <description>&lt;P&gt;Aaahh... &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1837981"&gt;@dwWithCat&lt;/a&gt;, On the platform you're trying static links cannot be used! 🤷&lt;/P&gt;&lt;P&gt;Try use dynamic button creation with the same content.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At the time Dropbox script loads, it expect all links are already loaded and starts immediately enumerate them and so. In your case at that time there is nothing loaded yet. That's where your issue is coming from.&lt;/P&gt;&lt;P&gt;Hope it's a bit more clear now.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 22:24:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/772000#M33765</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-05-20T22:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Saver does not upload image file to dropbox, only opens the image in new tab.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/772115#M33768</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1837981"&gt;@dwWithCat&lt;/a&gt;&amp;nbsp;Здравко is correct; for a situation like that, you'll need to instead follow "&lt;A href="https://www.dropbox.com/developers/saver#creating-buttons" target="_blank"&gt;Programmatically creating Saver buttons&lt;/A&gt;" or "&lt;A href="https://www.dropbox.com/developers/saver#triggering" target="_blank"&gt;Triggering the Saver from JavaScript&lt;/A&gt;".&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 13:11:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Saver-does-not-upload-image-file-to-dropbox-only-opens-the-image/m-p/772115#M33768</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-05-21T13:11:28Z</dc:date>
    </item>
  </channel>
</rss>

