cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

Unable to choose file

Unable to choose file

engagapp
New member | Level 2

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

4 Replies 4

Greg-DB
Dropbox 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
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

Greg-DB
Dropbox Staff

@averma I see you opened a new thread for this, so I'll follow up with you there.

ideazhao
New member | Level 2

please check your “sizeLimit” config,it is possible too little,so you can't choose any file~

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    ideazhao New member | Level 2
  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    averma New member | Level 2
What do Dropbox user levels mean?