Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

deano_berecca's avatar
deano_berecca
New member | Level 2
3 months ago

Problems accessing files Javascript

I am just starting out with the Dropbox SDK in a JavaScript app and am being frustrated because it doesn't seem to be able to return the files in my 'Apps' folder even though I'm following the initial tutorial at https://www.dropbox.com/developers/documentation/javascript#tutorial. The alert says 'undefined'.

Here's my code:

I also get this error message:

 

 

 

 

 

 

 

 

Please can anyone help?

1 Reply

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    3 months ago

    Hi deano_berecca​ 

    The JavaScript SDK is meant to be used to interact with the Dropbox API. Based on your second screenshot, however, it appears as though you are trying to use the Dropbox Chooser — which is a frontend/client component.

    We'd suggest referencing the documentation for the Dropbox Chooser, which can be found here: https://www.dropbox.com/developers/chooser, to get started.

    If you encounter any technical issues with the implementation of the Dropbox Chooser, feel free to reply to this conversation.

About Dropbox API Support & Feedback

Node avatar for 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!