cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Share your feedback on the Document Scanning Experience in the Dropbox App right here.

Discuss Dropbox Developer & API

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem of uploading image to dropbox shared link using url

Problem of uploading image to dropbox shared link using url

JagsDew
Explorer | Level 3

I am trying to upload the image to the dropbox shared link using the URL  but I did not get the path of this shared link. I'm using the below code to get the metadata of the shared folder link but I did not get a path_lower in response.

 

dbx.sharingGetSharedLinkMetadata({url: req.body.reference})
    .then(function(response) {
        console.log(response);
        var pathname =  response.result.path_lower;
        dbx.filesUpload({path: "/"+pathname, contents: data})
            .then(function(response) {
            console.log(response);
            })
            .catch(function(error) {
                console.error(error);
            });
    
    })
    .catch(function(error) {
        console.error(error);
    });

I appreciate your help. Thank You.

11 Replies 11

JagsDew
Explorer | Level 3

Where and when I can see the response of my issue ticket no. #11717751. 

 

I am not able to find any response in the ticket support section.

Greg-DB
Dropbox Staff

We responded to that ticket on Wednesday. Please check the email inbox for the email address on the account used to open that ticket for the response. If you don't see it, please check the spam folder too.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    JagsDew Explorer | Level 3
What do Dropbox user levels mean?