{"action":"closed","issue":{"url":"https://api.github.com/repos/tmenier/Flurl/issues/34","labels_url":"https://api.github.com/repos/tmenier/Flurl/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/tmenier/Flurl/issues/34/comments","events_url":"https://api.github.com/repos/tmenier/Flurl/issues/34/events","html_url":"https://github.com/tmenier/Flurl/issues/34","id":87113552,"number":34,"title":"KeyNotFoundException when using DownloadFileAsync","user":{"login":"NateRickard","id":2753695,"avatar_url":"https://avatars.githubusercontent.com/u/2753695?v=3","gravatar_id":"","url":"https://api.github.com/users/NateRickard","html_url":"https://github.com/NateRickard","followers_url":"https://api.github.com/users/NateRickard/followers","following_url":"https://api.github.com/users/NateRickard/following{/other_user}","gists_url":"https://api.github.com/users/NateRickard/gists{/gist_id}","starred_url":"https://api.github.com/users/NateRickard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NateRickard/subscriptions","organizations_url":"https://api.github.com/users/NateRickard/orgs","repos_url":"https://api.github.com/users/NateRickard/repos","events_url":"https://api.github.com/users/NateRickard/events{/privacy}","received_events_url":"https://api.github.com/users/NateRickard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-10T21:28:31Z","updated_at":"2015-06-11T03:06:19Z","closed_at":"2015-06-11T03:06:19Z","body":"When using the DownloadFileAsync extension method over a bunch of image urls, I receive a few System.Collections.Generic.KeyNotFoundException exceptions.  My assumption is the urls are invalid or have no valid file (since I only get 2-3 of these over a large set of urls), but the errors received here are odd and seem out of place - I would expect a http code or file not found, etc.\r\n\r\n```\r\n{System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.   \r\n\tat System.ThrowHelper.ThrowKeyNotFoundException () [0x00000] in <filename unknown>:0    \r\n\tat System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00021] in <filename unknown>:0    \r\n\tat Flurl.Http.HttpCall.get_Succeeded () [0x00019] in c:\\Aldenteware\\Flurl\\code\\Flurl.Http.Shared\\HttpCall.cs:79    \r\n\tat Flurl.Http.Configuration.FlurlMessageHandler+<SendAsync>d__1.MoveNext () [0x0021d] in c:\\Aldenteware\\Flurl\\code\\Flurl.Http.Shared\\Configuration\\FlurlMessageHandler.cs:39  \r\n\t--- End of stack trace from previous location where exception was thrown ---   \r\n\tat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in <filename unknown>:0    \r\n\tat System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () [0x000f3] in <filename unknown>:0  \r\n\t--- End of stack trace from previous location where exception was thrown ---   \r\n\tat System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <filename unknown>:0    \r\n\tat System.Runtime.CompilerServices.TaskAwaiter`1[System.String].GetResult () [0x00000] in <filename unknown>:0    \r\n\tat MyApp.Mobile.Droid.Picture+<SavePictureToDiskAsync>c__async0.MoveNext () [0x00077] in /Users/naterickard/Projects/MyApp/projects/mobile/code/MyApp.Mobile/MyApp.Mobile.Droid/PlatformDependencies/Picture.cs:16 }\tSystem.Collections.Generic.KeyNotFoundException\r\n```"}}