{"action":"created","issue":{"url":"https://api.github.com/repos/Bungie-net/api/issues/272","repository_url":"https://api.github.com/repos/Bungie-net/api","labels_url":"https://api.github.com/repos/Bungie-net/api/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/Bungie-net/api/issues/272/comments","events_url":"https://api.github.com/repos/Bungie-net/api/issues/272/events","html_url":"https://github.com/Bungie-net/api/issues/272","id":269278926,"number":272,"title":"GetHistoricalStats using daily periodType generates error","user":{"login":"danreynol","id":4228203,"avatar_url":"https://avatars2.githubusercontent.com/u/4228203?v=4","gravatar_id":"","url":"https://api.github.com/users/danreynol","html_url":"https://github.com/danreynol","followers_url":"https://api.github.com/users/danreynol/followers","following_url":"https://api.github.com/users/danreynol/following{/other_user}","gists_url":"https://api.github.com/users/danreynol/gists{/gist_id}","starred_url":"https://api.github.com/users/danreynol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danreynol/subscriptions","organizations_url":"https://api.github.com/users/danreynol/orgs","repos_url":"https://api.github.com/users/danreynol/repos","events_url":"https://api.github.com/users/danreynol/events{/privacy}","received_events_url":"https://api.github.com/users/danreynol/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-28T03:08:20Z","updated_at":"2017-10-28T03:12:52Z","closed_at":"2017-10-28T03:12:52Z","author_association":"NONE","body":"If I make the call to GetHistoricalStats, with character id of 0, using the daily periodType parameter, I get the following error: An unexpected error has occurred on Bungie's servers while trying to grab Destiny information.\r\n\r\nIf I make the same call except for a specific character, it works. Is there something special I have to do to pull all characters data for a time range?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/Bungie-net/api/issues/comments/340135375","html_url":"https://github.com/Bungie-net/api/issues/272#issuecomment-340135375","issue_url":"https://api.github.com/repos/Bungie-net/api/issues/272","id":340135375,"user":{"login":"vthornheart-bng","id":31020340,"avatar_url":"https://avatars1.githubusercontent.com/u/31020340?v=4","gravatar_id":"","url":"https://api.github.com/users/vthornheart-bng","html_url":"https://github.com/vthornheart-bng","followers_url":"https://api.github.com/users/vthornheart-bng/followers","following_url":"https://api.github.com/users/vthornheart-bng/following{/other_user}","gists_url":"https://api.github.com/users/vthornheart-bng/gists{/gist_id}","starred_url":"https://api.github.com/users/vthornheart-bng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vthornheart-bng/subscriptions","organizations_url":"https://api.github.com/users/vthornheart-bng/orgs","repos_url":"https://api.github.com/users/vthornheart-bng/repos","events_url":"https://api.github.com/users/vthornheart-bng/events{/privacy}","received_events_url":"https://api.github.com/users/vthornheart-bng/received_events","type":"User","site_admin":false},"created_at":"2017-10-28T03:12:52Z","updated_at":"2017-10-28T03:12:52Z","author_association":"CONTRIBUTOR","body":"Oh, so in this situation you'll want to call GetHistoricalStatsForAccount rather than merely GetHistoricalStats.  GetHistoricalStats only understands how to work with characters: so if you pass 0, it assumes this was the intended character ID which throws a fit because that character ID isn't valid.  But if you call GetHistoricalStatsForAccount, it should return you the data you seek (historical info across characters)!"}}
{"actor":{"display_login":"vthornheart-bng"}}