# 🎉 Refresh tokens in node-red-node-dropbox (Now published as v2.0.0)

**URL:** <https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610>\
**Category:** Feature Requests\
**Created:** [25 July 2022 21:05 UTC](https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610 "2022-07-25T21:05:11Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Post date:** [23 August 2022 08:58 UTC](https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610/26 "2022-08-23T08:58:53Z")

</div>

> [@stephenn](#):
>
> No luck

Stephen, Is your dropbox node up to date to start with, - v1.1.1 ?  
If so, it's most likely a copy/paste error.

The way I did it is;

1. Like you already have done, change the existing files names `mv dropbox.js OLD_dropbox.js` etc. so can always roll back.

2. Open Bart's git fork to the file that you want to copy - [dropbox.js](https://github.com/bartbutenaers/node-red-web-nodes/blob/master/dropbox/dropbox.js)  
Use the 'Copy Raw Contents' button to copy the file contents -  
 ![copy](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/823e83bb11eec71c1001f7982724e1817cc43f91.jpeg)

3. In your dropbox folder create the new file - `nano dropbox.js` and paste the code that you've copied. Save the file.

4. Do the same for the other ~~2~~ 3 files, and then restart node-RED

**[EDIT -]** Also update the `package.json` file as it now contains the latest 'dropbox library' and run `npm update` from within the dropbox folder to update the library.

---

_[View the full topic](https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610)._
