One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
mineraldragon
8 years agoExplorer | Level 3
Uncaught ReferenceError: Dropbox is not defined
I import the Javascript SDK like this:
<script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script>
And then it hangs at:
var dbx = new Dropbox({clientId: DBX_CLIENT_ID});
Saying Dropbox is not defined. What might be the issue?
- Greg-DB
Dropbox Staff
This seems to be working for me. Are you loading the script before you call the `new Dropbox` line?- mineraldragonExplorer | Level 3
Yes, it's in the header
- Greg-DB
Dropbox Staff
Are you getting any other errors? Do you have a sample page available where we can see this issue occurring?
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,949 PostsLatest Activity: 2 hours ago
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!