Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
donaldp
5 years agoCollaborator | Level 9
Running into an odd problem when using UploadAsync
Hi,
Same program as I've discussed before (.net running on UWP and Android) I'm having an issue when it runs on Android (works as expected on UWP. In fact I haven't even touched this partic...
donaldp
5 years agoCollaborator | Level 9
Hi Greg-DB
Just an update and a request...
It did turn out that the issue was being unauthorised, so I've got a bunch of extra code in there now to deal with that scenario (some changes I'd made had meant I was hitting some code earlier than previously and thus running into unauthorised), so the problem is now solved from that point of view.
As noted previously, I had absolutely no output from Dropbox though to indicate this, just the "null reference" message for my output variable. My Dropbox client wasn't null, but it also wasn't authorised (hence no output to my variable). Can we please add an unauthorised exception, to make it clearer to devs what is happenning? Or even better a way to get more verbose output from the client, because I had nothing at all from it to indicate that things weren't right.
thanks,
Donald.
Greg-DB
Dropbox Community Moderator
5 years agoThe .NET SDK does raise an AuthException for authorization issues, such as for AuthError.IsInvalidAccessToken. It's unclear why you wouldn't have received that though; it seems to be working as expected for me. Can you clarify what you mean exactly when you say your "client wasn't null, but it also wasn't authorised"? Did it have a revoked access token, or something else? Feel free to share the relevant steps/code for getting your DxClient into that state so we can look into it. Thanks!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!