@roosterboy, ok, haven’t used the dropbox module, but if login works for something but does not work for something else, with oauth it is typically because the authorization is tied to a specific scope of allowed actions. I did not see the scope set in the code, is it set somewhere where you obtain the API key and secret?
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.