You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: snippets/general-shared-text/dropbox.mdx
+74-1Lines changed: 74 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,13 @@ allowfullscreen
25
25
This is because the access token is scoped to the specific app folder and settings at the time the access token is generated. If you change the app folder name or any of the permissions later,
26
26
you should regenerate the access token.<br/>
27
27
28
+
<Warning>
29
+
Access tokens are valid for **only four hours** after they are created. After this four-hour period, you can no longer use the expired access token.
30
+
Dropbox does not allow the creation of access tokens that are valid for more than four hours.
31
+
32
+
To generate a replacement token for an expired one, see [Replace an expired access token](#replace-an-expired-access-token), later in this article.
33
+
</Warning>
34
+
28
35
3. The app folder that your Dropbox app will use for access can be found in your Dropbox account under the `Apps` top-level folder. For example, if the value of the **App folder name**
29
36
field above is `my-folder`, then the app folder that your Dropbox app will use for access can be found under `https://dropbox.com/home/Apps/my-folder`
30
37
@@ -43,4 +50,70 @@ allowfullscreen
43
50
if your Dropbox app uses an app folder named `my-folder` for access within the `Apps` top-level folder, and you create a subfolder named `data` within the `my-folder` app folder, then
44
51
the remote URL is `dropbox://data`
45
52
46
-

53
+

54
+
55
+
## Replace an expired access token
56
+
57
+
Dropbox app access tokens are valid for **only four hours**. After this time, you can no longer use the expired access token.
58
+
59
+
To replace an old, expired access token with a new, valid one, do the following:
60
+
61
+
1. Get the app key and app secret values for your Dropbox app. To do this:
62
+
63
+
a) Sign in to the [Dropbox Developers](https://www.dropbox.com/developers) portal with the same credentials as your Dropbox account.<br/>
64
+
b) Open your [App Console](https://www.dropbox.com/developers/apps).<br/>
65
+
c) Click your Dropbox app's icon.<br/>
66
+
d) On the **Settings** tab, next to **App key**, copy the value of the app key.<br/>
67
+
e) Next to **App secret**, click **Show**, and then copy the value of the app secret.
68
+
69
+
2. Use your web browser to browse to the following URL, replacing `<app-key>` with the app key for your Dropbox app:
0 commit comments