dropbox / dbxcli

A command line client for Dropbox built using the Go SDK
Other
1.04k stars 102 forks source link

Unable to Re-Setup Dropbox connection #184

Closed jrdnr closed 2 years ago

jrdnr commented 2 years ago

I had dbxcli.exe set up and working, then today it started throwing an error that the app was disabled. I tried to figure out a way to fix it on the Dropbox app side but when I couldn't find a way to reenable it I figured I should be able to just remove the app and re-set it up. But now I get the erorr

Error: invalid_access_token/.

How can I re-set all the tokens on my local system so I can re-setup the connection to dropbox?

staneslavskiy commented 2 years ago

I have this problem too ((

siffegh commented 2 years ago

Ditto. I disconnected the app from Dropbox, renamed auth.json, and entered 'dbxcli account' at the command line. That returned the 'Go to https://www.dropbox.com...' URL to allow access, but when going there, I got a screen with 'This app is currently disabled.' Unfortunately, this looks like DB has disabled access via dbxcli. Hope I'm wrong!

jrdnr commented 2 years ago

renamed auth.json

Where was the auth.json file? I don't remember seeing one anywhere.

siffegh commented 2 years ago

renamed auth.json

Where was the auth.json file? I don't remember seeing one anywhere.

On Win - C:\Users\your username.config\dbxcli

siffegh commented 2 years ago

Doh, should be C:\Users\your usernamebackslash.config\dbxcli

rvdsteege commented 2 years ago

I'm also having issues. The following error occurs when trying to upload files:

Error: Error in call to API function "files/upload": This app is currently disabled.

Like @siffegh said, after moving the ~/.config/dbxcli/auth.json file out of its place, I got the "Go to https://www.dropbox.com/..." message when trying dbxcli account, but visiting the URL results in a message:

This app is currently disabled.
jrdnr commented 2 years ago

Sounds like we all need to open drop box support tickets. As long as dbxcli is supported a native command to clear the cashed info in the config.json file would be nice. But from what everyone is saying the error about the app being disabled sounds like drop box changed something on their end.

gioxx commented 2 years ago

This is the reply to my ticket (escalated to Product / API support): immagine

I'm trying to contact my Dbox Customer Success Manager to discuss it.

rvdsteege commented 2 years ago

Thank you for sharing, @gioxx. Is Dropbox not "the creator" of dbxcli? This repository is in the https://github.com/dropbox/ organisation on GitHub… :confused:

gioxx commented 2 years ago

@rvdsteege exactly. This is the point.

immagine

jrdnr commented 2 years ago

Thanks @gioxx I was just able to re-setup for my account. Seems like they have it re-enabled.

rvdsteege commented 2 years ago

Fixed, working again at my end 🎉

Moe, Apr 6, 2022, 5:24 AM PDT: Hi,

Thanks for reporting this issue. This issue is now fixed and should be working properly.

Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.

Regards, Moe

greg-db commented 2 years ago

Thanks for the report all. This should be working again now.

gioxx commented 2 years ago

Magic:

immagine

siffegh commented 2 years ago

Thanks, all :-)

staneslavskiy commented 2 years ago

thanks for all!