Dropbox broken on React/Transloadit (@uppy/dropbox 1.4.19)


We were are experiencing an issue in which the Dropbox integration breaks with the latest upgrade (1.4.19).

Strictly speaking I’m not sure if the issue truly exists in the @uppy/dropbox package, or one of its dependencies:


The issue manifested itself as a React error output and an error in the console.
TypeError: t.validateRestrictions is not a function.

That seems to be a result of this get request…

    Request URL: https://api2.transloadit.com/companion/dropbox/list/
    Request Method: GET
    Status Code: 401 Unauthorized

Our resolution for the issue was downgrading and pinning to 1.14.17 which seems to work with the other latest packages.