Unable to refresh Dropbox token

What is the problem you are having with rclone?

Unable to refresh token. I was able to setup a token originally before I configured an app.
I followed the directions from Dropbox

Error (400)

It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.

More details for developers

Invalid redirect_uri. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path).

Run the command 'rclone version' and share the full output of the command.

rclone v1.60.0
  • os/version: Microsoft Windows 10 Pro 21H2 (64 bit)
  • os/kernel: 10.0.19044.2130 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.19.2
  • go/linking: static
  • go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone config

The rclone config contents with secrets removed.

type = dropbox
token = {"access_token":"sl.BSCOm-ueDJW-bummNNEPo0k4sUq1ePBN1RdOjuuae41IGO2wI27AQSwyd4iFLShKqR878gGUAR4ClRPtOXSt1fJcAwU4hFAlt3AiTN-bvidmrr2gjGEmchsxRr7zePifeu3Ht-Uf","token_type":"bearer","refresh_token":"PY5De4TWDcEAAAAAAAAAAb_JgLiHLcyZzriHoS1HdcGViWuHl_ln9o2JDbgYUD87","expiry":"2022-10-27T22:03:45.5754983-07:00"}
client_id = XXXXX
client_secret = XXXXX

A log from the command with the -vv flag

Paste  log here

Seems like. you have a typo in the redirect uri.

What does this look like for you?


OK. I see that now. I did paste that into that section but apparently I did not ADD it. DUH!

thank you for your help.

1 Like

Glad you got it figured out.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.