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...
Greg-DB
Dropbox Community Moderator
5 years agoThe Dropbox SDK doesn't offer a way to enable more verbose output, such as for UploadAsync to offer more information about the operation. It's unclear exactly what's occurring here, or why you'd get a NullReferenceException on the variable being used as output, if that is what's happening. Can you print out the full stack trace for the exception? That may offer some insight.
- donaldp5 years agoCollaborator | Level 9
Hi Greg,
The call stack just shows that the method is being called and is at line 305. See screenshot.
- Greg-DB5 years ago
Dropbox Community Moderator
Thanks, looking at that line then, is it possible DxClient itself is null? The screenshot is cut off, but I presume there aren't any other variables referenced that I can't see. The Locals pane shows stream and commitInfo as defined, but DxClient isn't shown.
- donaldp5 years agoCollaborator | Level 9
Hi Greg,
DxClient is my global Dropbox client, and definitely not null, but in running my program again to get a screenshot of that for you I did find that it's not authorised! Not sure how that came to be, but I'll chase that down now, as that is probably why I'm getting this message (though not sure why I'm not getting some kind of message to indicate that). Will let you know how it goes.
thanks,
Donald.
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!