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

Forum Discussion

skezh1's avatar
skezh1
New member | Level 2
2 years ago

Re: Uncaught TypeError: Dropbox.Dropbox is not a constructor

Hi! This error reappeared again!

13 Replies

  • shamilto2000's avatar
    shamilto2000
    Helpful | Level 6
    2 years ago

    Unfortunately I am receiving a similar error when using the Embedder, which has worked successfully in my app for years: 

     

    Uncaught TypeError: Dropbox.embed is not a function
    at dropins.js:1:36970
    at E.init (dropins.js:1:37032)
    at HTMLDocument.w (dropins.js:1:24186)

     

    I tried moving the dropins.js before the sdk inclusion as suggested by another post in the community, but this seems not to resolve it:

     

    <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="MY_KEY"></script>

    <script src="https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js"></script>

     

     

     

     

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    shamilto2000 It looks like you are getting a different error than the one reported in the thread you originally posted in, so I've moved your message to this thread which has the same error you're getting.

     

    Please check out the earlier messages in this thread for ways to handle loading both scripts.

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!