We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
dennis s.23
9 years agoNew member | Level 1
How to I determine LookupError.NotFound from AggregateException
How to I determine LookupError.NotFound from AggregateException
Here is code:
try{
pFilesRoutes.GetMetadataAsync("/shesnotthere", false)
}catch(AggregateException e)
{
foreach (var err in...
dennis s.23
9 years agoNew member | Level 1
Here is what worked for me:
catch (AggregateException e)
{
foreach (Exception error in e.InnerExceptions)
{
if (error is Dropbox.Api.ApiException<Dropbox.Api.Files.GetMetadataError>)
{
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 hours agoIf 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!