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

engagapp's avatar
engagapp
New member | Level 2
6 years ago

Unable to choose file

I have created Dropbox  for pick file for attachment but unable to pick the file in Dropbox pop up from my account 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    It looks like you're using the Dropbox Chooser. Can you share the code you're using to configure it?

    Specifically, are you setting the 'extensions' option? If you are, and aren't allowing the particular file extensions for the files in your account, you won't be able to select them.

    • averma's avatar
      averma
      New member | Level 2

      Hey I am sort of having the same problem

      const options = {
        // Required. Called when a user selects an item in the Chooser.
        //@ts-ignore
        success: function(files) {
            // alert("Here's the file link: " + files[0].link)
            console.log(files);
        },
      
        cancel: function() {
          console.log('hellp')
        },
        linkType: "preview", // or "preview"
        multiselect: true, // or true
        extensions: ['.pdf', '.doc', '.docx', '.txt'],
        folderselect: false, // or true
        sizeLimit: 1024, // or any positive number
      };

       Here  are the options that i have used. please let me know about the next steps

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,888 PostsLatest Activity: 3 hours ago
326 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!