Solution for "Download Failure" exception with Scottgu's DiggSample
1 min read
WebClient will return a Download failure exception if you search the Digg API using an invalid search term.
If you search with a valid term, say “microsoft”, then you will have no issues. Search with “asdf” and you’ll get the Download failure exception.
Hope this helps,
Jon
Share:
Share on LinkedIn
Quick Share: Your custom post text has been copied to your clipboard! Click the button below to open LinkedIn's share dialog, then paste it.
💡 Tip: LinkedIn will open in a new tab. Use Ctrl+V (or Cmd+V on Mac) to paste your text.
Note: LinkedIn will show the article preview. You can add your custom text above it.