# Dropbox Setup: Connect & Transfer Files

> How to connect Blober to Dropbox. Browse folders, upload and download files, and transfer between Dropbox and other cloud providers.

Dropbox is a cloud storage and file synchronization service with cross-platform support. In Blober, Dropbox paths use this format:

```
/folder/subfolder/file.ext
```

## Capabilities

- ✅ Browse folders and files
- ✅ Upload files (up to ~350 GB)
- ✅ Download files
- ✅ Create folders (automatically created when uploading)
- ✅ Delete files/folders
- ✅ Copy files within Dropbox
- ✅ Move files within Dropbox
- ✅ View file metadata (size, dates, content hash)
- ✅ Progress tracking for uploads
- ✅ Automatic rate-limit retry
- ✅ Token auto-refresh (OAuth flow only)

## Prerequisites

- A [Dropbox account](https://www.dropbox.com/) (free or paid)
- A Dropbox App created in the [Dropbox App Console](https://www.dropbox.com/developers/apps)

## Authentication methods

Blober supports two ways to connect to Dropbox:

| Method | Setup complexity | Token lifetime | Auto-refresh |
|--------|-----------------|----------------|--------------|
| [Generated access token](#option-1-generated-access-token) | Simple | ~4 hours | ❌ No, you regenerate it by hand |
| [App key + secret (OAuth)](#option-2-app-key--secret-oauth) | Moderate | Indefinite | ✅ Yes, through a refresh token |

> **Tip**
>
> If you'll leave workflows running unattended, use **App Key + Secret (OAuth)**. It refreshes expired tokens, so your workflows won't break after 4 hours.
>
> To try Blober quickly, a **Generated Access Token** gets you started in under a minute.

<a id="option-access-key"></a>
### Option 1: Generated access token

Use a short-lived token generated in the Dropbox App Console. It's quick to set up, but you have to renew it every ~4 hours.

Blober asks for one field:

| Field | Description |
|-------|-------------|
| **Dropbox Generated Access Key** | Bearer token string (e.g., `sl.u.AGUFCwsCKpMW-...`) |

#### Setup steps

1. [Create a Dropbox App](#1-create-a-dropbox-app) and [configure permissions](#2-configure-permissions) (see below)
2. In your app's **Settings** tab, scroll to **OAuth 2**
3. Click **"Generate"** under **Generated access token**
4. Copy the token. Dropbox shows it only once
5. In Blober, go to **Workflows** => **New Workflow**
6. Select **Dropbox** as source or destination
7. Paste the token into the **Dropbox Generated Access Key** field
8. Test by browsing your Dropbox files

> **Caution**
>
> Generated tokens expire after approximately 4 hours. When your token expires, generate a new one from the App Console and update it in Blober. Any in-progress workflows using an expired token will fail.

<a id="option-credentials"></a>
### Option 2: App key + secret (OAuth)

Use your app's credentials to start a browser-based OAuth consent flow. Blober then stays signed in on its own.

Blober asks for two fields:

| Field | Description |
|-------|-------------|
| **App Key** | Alphanumeric string from your app's Settings tab (e.g., `3p6ac1pz2b3k7k`) |
| **App Secret** | Alphanumeric string; click **Show** to reveal it (e.g., `3p6ac1pz2b3k6j`) |

#### Setup steps

1. [Create a Dropbox App](#1-create-a-dropbox-app) and [configure permissions](#2-configure-permissions) (see below)
2. Copy your **App Key** and **App Secret** from the app's **Settings** tab
3. In the **OAuth 2** section of the same tab, enter this exact URI under **Redirect URIs** and click **Add**: `http://localhost:52847/oauth/dropbox/callback`
4. In Blober, go to **Workflows** => **New Workflow**
5. Select **Dropbox** as source or destination
6. Enter your **App Key** and **App Secret** in the corresponding fields
7. Click **Authorize Dropbox Access**. A browser window opens for consent
8. Sign in with your Dropbox account and grant permissions
9. The browser redirects back to Blober, and you're connected

> **Caution**
>
> The Redirect URI must match exactly, including `http`, port `52847`, the complete path, and no trailing slash. If it doesn't, Dropbox shows an [Invalid redirect_uri](#invalid-redirect_uri) page instead of the consent screen.

After authorization, Blober stays signed in. You don't need to touch Dropbox again unless you revoke the app.

## Required scopes (permissions)

Your Dropbox App must have these permissions enabled before you generate an access token or authorize via OAuth, because tokens and refresh tokens keep the scopes that were active when they were created.

| Scope | Purpose |
|-------|---------|
| `files.metadata.read` | Browse and list files/folders |
| `files.metadata.write` | Create folders, move/copy files |
| `files.content.read` | Download files |
| `files.content.write` | Upload and delete files |
| `account_info.read` | Verify connection to your account |

## Setup guide

### 1. Create a Dropbox app

1. Go to the [Dropbox App Console](https://www.dropbox.com/developers/apps)
2. Click **"Create app"**
3. Under **"Choose an API"**, select **"Scoped access"**
4. Under **"Choose the type of access you need"**, select **"Full Dropbox"** to give Blober your entire Dropbox, or **"App folder"** to restrict it to its own sandbox folder (files outside that folder won't be visible)
5. Enter an app name (e.g., `Blober`)
6. Click **"Create app"**

### 2. Configure permissions

Do this before you generate a token or authorize via OAuth.

1. In your app's page, click the **"Permissions"** tab
2. Under **"Individual Scopes"**, enable these:
   - In **Files and folders**: `files.metadata.read`, `files.metadata.write`, `files.content.read` and `files.content.write`
   - In **Account info**: `account_info.read`
3. Click **"Submit"** at the bottom of the page

> **Caution**
>
> If you change permissions after generating a token or completing OAuth, the existing token/refresh-token retains its old scopes. You must generate a new token (or re-authorize via OAuth) for the updated permissions to take effect.

### 3. Choose your authentication method

Continue with [Option 1: Generated access token](#option-1-generated-access-token) or [Option 2: App key + secret (OAuth)](#option-2-app-key--secret-oauth) above, depending on your needs.

## File organization

Dropbox uses a hierarchical folder structure with forward-slash paths:

```
/Documents/Work/report.pdf
/Photos/2026/January/IMG_001.jpg
/Videos/vacation.mp4
```

- Paths are case-insensitive but case-preserving (e.g., `/Photos` and `/photos` refer to the same folder, but the display name keeps its original casing)
- Folders are created automatically when uploading a file to a path that doesn't exist yet
- The root of your Dropbox is represented by `/`

## How uploads work

Blober uploads files up to 350 GB to Dropbox and tracks progress in real time. Parent folders are created automatically if they don't exist.

When a file already exists at the destination path, the deduplication setting decides what happens. The default, **Skip if a file with the same name exists**, leaves the existing file alone, and **Overwrite the existing file** replaces it. See [Deduplication](https://blober.io/kb/docs/getting-started/deduplication/).

## Rate limiting

Dropbox applies rate limits on API requests. When Dropbox slows requests down, Blober waits and tries again. Under normal use, you're unlikely to hit rate limits. Large batch operations (e.g., uploading hundreds of files) may occasionally trigger throttling.

## Troubleshooting

### "Invalid redirect_uri"

![Dropbox "Error connecting app" page with the message: Invalid redirect_uri. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path).](https://blober.io/kb/docs/providers/dropbox/dropbox-invalid-redirect-uri.0c67b36beb.webp)

Dropbox shows this page when your Dropbox app does not list Blober's Redirect URI. Your App Key and App Secret can still be correct.

1. In the [Dropbox App Console](https://www.dropbox.com/developers/apps), open the app whose App Key you entered in Blober.
2. On the **Settings** tab, find **Redirect URIs** in the **OAuth 2** section.
3. Enter `http://localhost:52847/oauth/dropbox/callback` and click **Add**.
4. Return to Blober and click **Authorize Dropbox Access** again.

If the URI is already in the list, compare it character by character. It must use `http` (not `https`), `localhost` (not `127.0.0.1`), port `52847`, and no slash at the end.

### "Authentication failed" or 401 errors

- With a generated access token, the token has likely expired (they last ~4 hours). Generate a new one from the App Console.
- With the OAuth flow, try disconnecting and re-authorizing. If the refresh token was revoked (e.g., you disconnected the app from Dropbox settings), you'll need to authorize again.
- Verify your App Key and App Secret are correct and belong to the same app.

### "Invalid client_id or client_secret"

- Dropbox recognized the App Key but rejected the credentials during the token exchange.
- In the Dropbox App Console, open the same app, click **Show** beside **App secret**, and copy the value again.
- Re-enter both fields in Blober. Do not use the **Generated access token** as the App Secret.

### "OAuth state not found"

- Close the Dropbox callback or error page. Do not retry from that page.
- Return to Blober and click the current **Authorize Dropbox Access** link to start a new authorization.
- If a new link does not appear, close and reopen Blober before trying again.

### Missing credentials

- With a generated access token, ensure the field is filled in with no leading/trailing whitespace.
- With the OAuth flow, ensure both App Key and App Secret are filled in. If the authorization browser window didn't appear, check that your firewall isn't blocking localhost connections.

### "Quota exceeded" errors

- You've run out of Dropbox storage. Free accounts have 2 GB.
- Empty your Dropbox Trash. Deleted files still count toward your quota until the trash is emptied.
- Upgrade your Dropbox plan or remove files to free up space.

### Insufficient permissions

- Verify all [required scopes](#required-scopes-permissions) are enabled in the **Permissions** tab.
- If you changed permissions after generating your token or authorizing via OAuth, the existing credentials retain their old scopes. You must generate a new token or re-authorize.

### Files not appearing

- Refresh the file list in Blober.
- If using **App folder** access, files outside the app's folder are not visible.
- Check that the files exist in the Dropbox web app at [dropbox.com](https://www.dropbox.com/).

### Slow uploads

- Check your network speed, since uploads are limited by your connection.
- Dropbox may throttle uploads during high-traffic periods. Blober retries throttled requests automatically.

### Uploads failing mid-way

- If an upload fails partway through (e.g., network drops), Blober retries automatically.
- Check your network stability for very large files.

### How to revoke access

1. Go to [Dropbox account settings](https://www.dropbox.com/account/connected_apps)
2. Find your app and click **"Disconnect"**
3. In Blober, remove the existing connection

Revoking access invalidates all tokens immediately, both generated access tokens and OAuth refresh tokens.

## Limitations

### Storage quotas

| Plan | Storage |
|------|---------|
| Free (Basic) | 2 GB |
| Plus | 2 TB |
| Professional | 3 TB |
| Business | 5 TB+ per user |

### API limits

| Limit | Value |
|-------|-------|
| Max file size | 350 GB |
| Data transport (Dropbox Business) | Monthly API call quotas may apply; ask your admin |

### Path limits

- Maximum path length: 260 characters
- Individual file/folder names: up to 255 characters

### Other limitations

- **Server-side copy and move work within one account.** Dropbox's own copy and move work only inside the same Dropbox account. To copy or move files between Dropbox and another provider, run a Copy or Move workflow: Blober downloads each file to your computer and uploads it to the destination.
- **Case-insensitive paths.** Dropbox treats `/Photos/IMG.jpg` and `/photos/img.jpg` as the same file. Be careful when migrating from case-sensitive storage providers.

> **Terms Compliance**
>
> Your use of Dropbox through Blober is subject to [Dropbox's Terms of Service](https://www.dropbox.com/terms). See our [Terms of Service](https://blober.io/kb/docs/terms-and-privacy/terms-of-service/) for details.

## Further reading

- [How to Move Files from Dropbox to Google Drive (3 Ways)](https://blober.io/kb/articles/how-to-move-dropbox-to-google-drive/)
- [How to Move Files and Photos Between Dropbox and iCloud](https://blober.io/kb/articles/move-files-between-dropbox-and-icloud/): Dropbox to iCloud Drive or iCloud Photos, and back

## External references

- [Dropbox App Console](https://www.dropbox.com/developers/apps): create and manage your app
- [Dropbox API v2 Documentation](https://www.dropbox.com/developers/documentation/http/documentation): full API reference
- [Dropbox Plans & Pricing](https://www.dropbox.com/plans): storage limits by plan
