You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Melisek
3 years agoExplorer | Level 3
Token refreshing C#
I'm building an app in .net and accessing the app's folder for resources. So far everything is going smoothly, but i have no idea how to refresh the token in my app. I tried using the example code fr...
Greg-DB
Dropbox Staff
To clarify, are you seeing the NullReferenceException in addition to the "Can't find specified file" error, or are you no longer getting a NullReferenceException?
Either way, is that the entirety of the error/output you're getting? Please be sure to share the whole error/output and whatever details you can if not, as it's not quite clear here. For example, if your IDE shows which line something is failing on, please show that.
Anyway, it sounds like that "Can't find specified file" error is occurring when attempting to launch the authorization URL in the system browser, on the System.Diagnostics.Process.Start line, but is the authorization page actually launching in the browser or not? It's unclear why that would fail but it may depend on your particular environment. For example, it sounds similar to this issue.
Melisek
3 years agoExplorer | Level 3
That's the entirety of the error output unless this is also paired with the error output:
Exception thrown: „System.ComponentModel.Win32Exception” in System.Diagnostics.Process.dll
The nullreference shows because the dropbox client isn't getting assigned in the Run tast as it doesn't reach this point of the task. The authorization page doesn't open.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
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 or Facebook.
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!