We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
engagapp
7 years agoNew member | Level 2
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
Dropbox Community Moderator
7 years agoIt 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
5 years agoNew 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-DB5 years ago
Dropbox Community Moderator
averma I see you opened a new thread for this, so I'll follow up with you there.
- ideazhao2 years agoNew member | Level 2
please check your “sizeLimit” config,it is possible too little,so you can't choose any file~
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!