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 share file using javascript sdk
I am using the following code:
var dbx = new Dropbox.Dropbox({ accessToken: ACCESS_TOKEN });
dbx.sharingCreateSharedLinkWithSettings({path: '/Filename.doc'})
.then(function(response) {
console.log(response);
})
.catch(function(error) {
console.log(error);
});
and in the same page I have a file uploaded that works fine. Any ideas?
Thank you