siya_prashant
siya_prashant

Reputation: 13

Dropbox JavaScript SDK suddenly gives "Dropbox.Dropbox is not a constructor" error

I am using Dropbox JavaScript SDK. Until 8 Jun 2020 my upload code worked fine but after 8 Jun 2020 it gives an error. See below for the code and error:

code

var ACCESS_TOKEN = '<?php echo DROP_BOX_TOKEN; ?>';
var dbx = new Dropbox.Dropbox({accessToken: ACCESS_TOKEN});

error

Uncaught TypeError: Dropbox.Dropbox is not a constructor

Thanks

Upvotes: 1

Views: 353

Answers (1)

Greg
Greg

Reputation: 16940

This issue is now fixed with the latest release and should be working properly again.

Upvotes: 0

Related Questions