{"action":"created","issue":{"url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/47","labels_url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/47/comments","events_url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/47/events","html_url":"https://github.com/mfilippov/vimeo-dot-net/issues/47","id":122292910,"number":47,"title":"RestSharp error","user":{"login":"mackeym","id":2692097,"avatar_url":"https://avatars.githubusercontent.com/u/2692097?v=3","gravatar_id":"","url":"https://api.github.com/users/mackeym","html_url":"https://github.com/mackeym","followers_url":"https://api.github.com/users/mackeym/followers","following_url":"https://api.github.com/users/mackeym/following{/other_user}","gists_url":"https://api.github.com/users/mackeym/gists{/gist_id}","starred_url":"https://api.github.com/users/mackeym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mackeym/subscriptions","organizations_url":"https://api.github.com/users/mackeym/orgs","repos_url":"https://api.github.com/users/mackeym/repos","events_url":"https://api.github.com/users/mackeym/events{/privacy}","received_events_url":"https://api.github.com/users/mackeym/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T15:10:34Z","updated_at":"2016-01-05T03:47:44Z","closed_at":null,"body":"Hi, I feel like I'm missing something obvious here.  I've been trying to authenticate using every way I can find and so far I just keep running into the same error about RestSharp.\r\n\r\nError retrieving information from Vimeo API.\r\nCould not load type 'RestSharp.* < This will change based on what function I use\r\n\r\nI am new to Oauth2 but I believe I'm doing this right.  In this specific case I'm using a personal access token I created in my Vimeo Developer page.  I've tried to upgrade to a new version of RestSharp but that just results in any Vimeo query freezing up the program.\r\n\r\nAny ideas?\r\n\r\n    protected async void Page_Load(object sender, EventArgs e)\r\n    {\r\n        try\r\n        {\r\n            VimeoClient VC;\r\n            VC = CreateAuthenticatedClient();\r\n            Task<User> account = VC.GetAccountInformationAsync();\r\n\r\n            User accountResult = await account;\r\n            Response.Write(accountResult.name);\r\n        }\r\n        catch (Exception ex)\r\n        {\r\n            Response.Write(ex.Message + \"<br />\" + ex.InnerException);\r\n        }\r\n    }\r\n\r\n    private VimeoClient CreateUnauthenticatedClient()\r\n    {\r\n        return new VimeoClient(ClientID, ClientSecret);\r\n    }\r\n\r\n    private VimeoClient CreateAuthenticatedClient()\r\n    {\r\n        return new VimeoClient(AccessToken);\r\n    }\r\n\r\nThanks,\r\nMichael"},"comment":{"url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/comments/168885710","html_url":"https://github.com/mfilippov/vimeo-dot-net/issues/47#issuecomment-168885710","issue_url":"https://api.github.com/repos/mfilippov/vimeo-dot-net/issues/47","id":168885710,"user":{"login":"ajbeaven","id":657201,"avatar_url":"https://avatars.githubusercontent.com/u/657201?v=3","gravatar_id":"","url":"https://api.github.com/users/ajbeaven","html_url":"https://github.com/ajbeaven","followers_url":"https://api.github.com/users/ajbeaven/followers","following_url":"https://api.github.com/users/ajbeaven/following{/other_user}","gists_url":"https://api.github.com/users/ajbeaven/gists{/gist_id}","starred_url":"https://api.github.com/users/ajbeaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajbeaven/subscriptions","organizations_url":"https://api.github.com/users/ajbeaven/orgs","repos_url":"https://api.github.com/users/ajbeaven/repos","events_url":"https://api.github.com/users/ajbeaven/events{/privacy}","received_events_url":"https://api.github.com/users/ajbeaven/received_events","type":"User","site_admin":false},"created_at":"2016-01-05T03:47:44Z","updated_at":"2016-01-05T03:47:44Z","body":"Updating RestSharp to version 105.1.0 fixed the authentication error I was getting."}}