Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
bffy_smmmers
5 years agoHelpful | Level 5
Re: Get thumbnail with TypeScript
hey Greg-DB - when i try that, i get the following:
TypeError: fetch is not a function at /Users/rosiew/Repositories/backend/packages/rest/.webpack/service/handler.js:441710:16 at processTick...
bffy_smmmers
5 years agoHelpful | Level 5
Greg-DB the latest version 9.2.0. We're using a monorepo structure and instaling with yarn and so i had to add the package local to this repo by aliasing the package name, so it wouldnt keep pointing to the older versions of dropbox that are being used elsewhere in the root directory.
Greg-DB
Dropbox Community Moderator
5 years agoCan you confirm node-fetch is also successfully installed? The 'dropbox' library lists it as a dependency (currently "^2.6.1"). And have you tried not passing in 'fetch' explicitly as noted?
- bffy_smmmers5 years agoHelpful | Level 5
Greg-DB it is! Using: "node-fetch": "2.6.1".
In the past when I've tried I've received a different error. and i just tried it again and got this: `TypeError: _this.fetch is not a function`.
- Greg-DB5 years ago
Dropbox Community Moderator
Thanks for checking that. It's not clear why this is failing. Can you inspect what your 'fetch' or '_this.fetch' is in fact, if not a function?
- bffy_smmmers5 years agoHelpful | Level 5
fetch is either a Function or undefined! Greg-DB
About 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!