We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here. 

Forum Discussion

martinkleinaustria's avatar
martinkleinaustria
Explorer | Level 4
5 years ago

Uncaught TypeError: Dropbox.Dropbox is not a constructor

I have a Javascript Program that works since years. Today Suddenly I get the error "Uncaught TypeError: Dropbox.Dropbox is not a constructor" in the Javascript Console and no Data is loaded from my Dropbox.

I use this dropbox sdk:

https://unpkg.com/dropbox/dist/Dropbox-sdk.min.js

Can someone please help ?

With kind regards.

Martin Klein

  • Thanks for reporting this issue. This issue is now fixed with the latest release and should be working properly again.

     

    Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.

  • This is the Line that gives the error:

     

    var dbxt = new Dropbox.Dropbox({ fetch:fetch, accessToken: xxxxxxxxxxxxxxxxxxxx" });

    Where xxxxxxxxxxxxxxx is here a replacement of my real Authentification.

    Regards Martin

    • martinkleinaustria's avatar
      martinkleinaustria
      Explorer | Level 4

      Thanks, do you want me to open an issue in Github for Version 5.0.0 ?

      Because I checked with Version 4.0.30 and there it still works perfectly.

      Regards Martin

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        Thanks, but there's no need to open this as an issue on GitHub as well. We're aware of the issue and are working on resolving it. I'll follow up here once I have an update on this.

    • sareuon's avatar
      sareuon
      Explorer | Level 3

      We experienced the same error yesterday, and the time of the failure coincides exactly with the release of to the v5.0.0 tag.  This broke the integration for our entire customer base. We've now rolled back to v4.3.0 as an interim measure.

       

      If breaking changes are introduced, where does Dropbox announce upcoming breaking changes? I can find nothing in the developer blog.

      • martinkleinaustria's avatar
        martinkleinaustria
        Explorer | Level 4

        The Problem has been fixed yesterday evening (Vienna Time). It works for me again.

        You can use the newest version again. It is now 5.1.0

        Regards

        Martin