Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

dwWithCat's avatar
dwWithCat
Explorer | Level 3
2 years ago
Solved

Saver does not upload image file to dropbox, only opens the image in new tab.

Trying to use Saver on Instagram files. If I use the API like this:

 

 

 

fetch("/api/dropboxupload", {
        method: "POST",
        headers: {
          "Content-Type": "application/json",
        },
        body: JSON.stringify({
          url: YOUR_FILE_URL,
          filename: YOUR_FILE_NAME,
          accessToken: accessToken.DropboxToken,
        }),
      })

 

 

 

I am successful. If I uninstall Dropbox from my node app and use Saver like this:

 

 

 

      <a
        href={YOUR_FILE_URL}
        data-filename={YOUR_FILE_NAME}
        className="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"
      >
        Save to Dropbox2
      </a>

 

 

 

All that happens is that the image opens in a new tab in the browser.

 

Popups are allowed in both Safari and Chrome for dropbox.com.

 

 

 

12 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!