{"action":"opened","issue":{"url":"https://api.github.com/repos/box/box-windows-sdk-v2/issues/140","repository_url":"https://api.github.com/repos/box/box-windows-sdk-v2","labels_url":"https://api.github.com/repos/box/box-windows-sdk-v2/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/box/box-windows-sdk-v2/issues/140/comments","events_url":"https://api.github.com/repos/box/box-windows-sdk-v2/issues/140/events","html_url":"https://github.com/box/box-windows-sdk-v2/issues/140","id":155855745,"number":140,"title":"FilesManager.GetThumbnailAsync throws error for image & video files (.jpg, .gif) but only on first attempt","user":{"login":"dan-hartley","id":13697223,"avatar_url":"https://avatars.githubusercontent.com/u/13697223?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-hartley","html_url":"https://github.com/dan-hartley","followers_url":"https://api.github.com/users/dan-hartley/followers","following_url":"https://api.github.com/users/dan-hartley/following{/other_user}","gists_url":"https://api.github.com/users/dan-hartley/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-hartley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-hartley/subscriptions","organizations_url":"https://api.github.com/users/dan-hartley/orgs","repos_url":"https://api.github.com/users/dan-hartley/repos","events_url":"https://api.github.com/users/dan-hartley/events{/privacy}","received_events_url":"https://api.github.com/users/dan-hartley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-19T23:12:42Z","updated_at":"2016-05-19T23:12:42Z","closed_at":null,"body":"This is a strange one.  After uploading an image file or video file (I've only tested with .jpg, .gif, .mpg, and .mp4 files) I can preview it using the Uri returned from `BoxClient.FilesManager.GetPreviewLinkAsync()` and I can download it via `BoxClient.FilesManager.DownloadStreamAsync()`, but `BoxClient.FilesManager.GetThumbnailAsync()` always throws an error the first time I call it.  However, after that error is thrown, subsequent calls to `BoxClient.FilesManager.GetThumbnailAsync()` are successful and the thumbnail is returned properly.\r\n\r\nI only see this problem with image and video files.  For other files like pdfs or word docs `BoxClient.FilesManager.GetThumbnailAsync()` correctly return the placeholder image and no error is ever thrown.\r\n\r\nHere's the exception text:\r\n\r\n> System.AggregateException: One or more errors occurred. ---> Box.V2.Exceptions.BoxException at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Box.V2.Managers.BoxFilesManager.<GetThumbnailAsync>d__13.MoveNext() --- End of inner exception stack trace ---\r\n\r\nAny ideas?"}}
{"actor":{"display_login":"dan-hartley"}}