Hi guys. When I get into my "business" dropbox account (part of an org) I see no"members.read" in "permissions".
My rclone fails with:
-> $ rclone mount dropbox: /00.STORAGE/dropbox --config /etc/rclone/dropbox.conf --verbose
2021/02/09 17:03:48 Failed to create file system for "dropbox:": invalid dropbox team member: "pet@mac.uk": Error in call to API function "team/members/get_info": Your app is not permitted to access this endpoint because it does not have the required scope 'members.read'. The owner of the app can enable the scope for the app using the Permissions tab on the App Console.
Would anybody know how to fix that?
I'd be happy with not being able to share in/via dropbox, if that is what the required permission refers to.
many thanks, L.
What is your rclone version (output from rclone version)
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Which cloud storage system are you using? (eg Google Drive)
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Rclone should really pass a list of necessary scopes during the oauth process which it doesn't at the moment, so if I set that flag then people that are members of teams won't be able to authenticate without the team admin.
I think your best workaround is to create your own app with the members.get permission - that should work.
In the mean time, I'll get rclone to request specific scopes, and request members.read only if impersonate is requested.
I've done that here - I'd appreciate if you'd give it a go as I don't currently have access to a dropbox business account.
Some time in the future I'll enable members.read for the default set of scopes.
The other thing I could do is make impersonate take a Team Member ID instead of an email address. I wouldn't need members.read permission without that. Is it easy to find a Team Member ID?
Sorry about this, dropbox changed the oauth permissions recently, and I didn't realise this would be a consequence.
"members.read" is available if one did go for "Full Dropbox" when "Choose the type of access you need" as oppose to "App Folder" which I did originally (I commented elsewhere on the forum that howto for dropbox could really use an update/cleanup and I'd be happy to do that if I can get my rclone to work)
Now when I try "Full" I see that "Team", "Members" & "Sessions" are available in "App Console"
I guess first question is - is it even possible to have "rclone" work with "App Folder" ?
Second - must "app" be in "production" for "rclone" to work?
Now trying "Full Dropbox" (rclone-1.53.3-1.el8.x86_64) with settings as on attached snapshot (so with "members.read" enabled, I still see (with "impersonate" ON)
-> $ rclone ls us-full: --config /etc/rclone/dropbox.conf --verbose
2021/02/12 08:10:14 Failed to create file system for "us-full:": invalid dropbox team member: "pet@mac.uk": missing_scope/
I'll try that beta today hopefully.
many thanks, L.
Nope. With rclone-1.55.0.beta.5175.aee3bfb17.fix.dropbox.scopes-1.x86_64 I still see:
-> $ rclone ls us-full: --config /etc/rclone/dropbox.conf --verbose
2021/02/12 08:25:37 Failed to create file system for "us-full:": invalid dropbox team member: "pet@mac.uk": missing_scope/...
With no "impersonate":
-> $ rclone ls us-full: --config /etc/rclone/dropbox.conf --verbose
2021/02/12 08:30:17 ERROR : : error listing: missing_scope/..
2021/02/12 08:30:17 Failed to ls with 2 errors: last error was: missing_scope/..
No. I've done so now, with a snapshot attached. I do it in "headless" env.
-> $ rclone authorize "dropbox" -- .....
I certainly am not an admin, geee.. how would that work...
Have you seen my earlier message with couple of questions?
many thanks, L.
I though I would include "impersonate", well.. just in case.
But now I've been doing without it and that last error is without "impersonate" and.. unfortunately with/in "gui" env too.
Ah... on the remote-headless box I did but not on my local-gui box I did not update to that latest dev 'rclone' version.
Now with that dev rclone on local-gui box "reconnect" got me a "Success!"
I'll have to do again with a clean sheet if I want to chip in to that "howto" I mentioned.
A question - again I'm a novice to both "rclone" & Dropbox so bare with me if this is made clear somewhere in Rclone's docs - is Rclone portable in terms of configs/remotes/setup?
Reason I ask is such that now having apparently, after "reconnect", my local-gui box shows no errors for:
-> $ rclone ls us-full: --config /etc/rclone/dropbox.conf --verbose
1467194 Getting Started with Dropbox.pdf
But having that same config/setup on a second remote-headless box "ls" still fails with:
What have I missed? I though I read somewhere that once a "rclone" got connected, set up to a remote then by the means of just config files "multiple" rclones on different computers can work with the same remote.
many! thanks, L.
ps. If it's you who manages packages for distros then I'd dare to suggest - push it downstream (I myself am Fedora user)
Best to use no package manager and download from rclone directly as that's the best and recommended way to install it as package managers can do whatever they want and are not maintained by rclone.
Oh.. I just realized that the "reconnect" actually does something to the "config". Now with that "new" config also on remote-headless box "ls" does work too.
Nice work, honestly many thanks for quickly responding to the problem.
I'll keep my fingers crossed for you devel guys not to let Dropbox changing(braking) stuff slip through behind your back without notice in the future.
as mentioned in another thread on the very same subject rclone not accessing the shared folders with Teams on Dropbox business / [Dropbox Business not accepting oauth2]
Well so far not much luck even with the forked version:
$ rclone version
rclone v1.55.0-beta.5175.aee3bfb17.fix-dropbox-scopes
os/arch: linux/arm
go version: go1.16rc1
I access my personal folder but not the Teams shared folder....
still the same error all the time:
$ rclone lsd dpbx:/
2021/04/09 22:16:30 Failed to create file system for "dpbx:/": get current account failed: missing_scope/.
and
$ rclone --dropbox-impersonate rxxxxxxxxxxxx lsd dpbx:/
2021/04/09 22:17:16 Failed to create file system for "dpbx:/": invalid dropbox team member: "xxxxxxxxxxxxx": missing_scope/.