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.

Hello, thank you for reporting this issue. As a general rule of thumb: questions should go in this forum, and bug reports and feature requests should go on the Uppy issue tracker. This is because most Uppy team members don’t regularly check this forum (they’re working on other things), so an issue like this might go unnoticed.

This appears to be correlated to this issue, where the same error appeared. It could also just be a bug in the Dropbox plugin, but that’s less likely.

Hopefully this gave some insight into the issue. Let me know if you have any questions,
- Andrew