You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

ER2480's avatar
ER2480
Explorer | Level 4
4 years ago

NetworkError when attempting to fetch resource when trying to share file using javascript sdk

Hi, I am very new to the Dropbox SDK, I am trying to programmatically create a link for sharing a file and getting the above error: NetworkError when attempting to fetch resource when trying to s...
  • Greg-DB's avatar
    Greg-DB
    4 years ago

    Thanks! It looks like the issue here is that when you click "Share File", that causes the page itself to reload (since you're submitting a form), which interrupts the Dropbox API call. 

     

    You should update or restructure your page to avoid that reload. That's not really related to the Dropbox API itself, but it looks like this StackOverflow post may be relevant.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,889 PostsLatest Activity: 5 hours ago
327 Following

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 or Facebook.

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!