{"action":"created","issue":{"url":"https://api.github.com/repos/ciaranj/node-oauth/issues/256","labels_url":"https://api.github.com/repos/ciaranj/node-oauth/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/ciaranj/node-oauth/issues/256/comments","events_url":"https://api.github.com/repos/ciaranj/node-oauth/issues/256/events","html_url":"https://github.com/ciaranj/node-oauth/issues/256","id":94779010,"number":256,"title":"Garbage error data with MailChimp","user":{"login":"cyberwombat","id":777498,"avatar_url":"https://avatars.githubusercontent.com/u/777498?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberwombat","html_url":"https://github.com/cyberwombat","followers_url":"https://api.github.com/users/cyberwombat/followers","following_url":"https://api.github.com/users/cyberwombat/following{/other_user}","gists_url":"https://api.github.com/users/cyberwombat/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberwombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberwombat/subscriptions","organizations_url":"https://api.github.com/users/cyberwombat/orgs","repos_url":"https://api.github.com/users/cyberwombat/repos","events_url":"https://api.github.com/users/cyberwombat/events{/privacy}","received_events_url":"https://api.github.com/users/cyberwombat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-13T18:14:26Z","updated_at":"2015-07-13T20:15:37Z","closed_at":"2015-07-13T20:15:37Z","body":"I am using the lib for various apis - mailchimp for some reason, on errors only, will return some encoded data that so far I cannot decode. I am wondering if you have ever seen this or an idea of what it might be. I tried adding gunzipping, utf8 decoding etc to the lib but to no avail.\r\n\r\nThe error returned looks like:\r\n\r\n````\r\n{ \r\n  statusCode: 400,\r\n  data: '\\u001f�\\b\\u0000\\u0000\\u0000\\u0000\\u0000\\u0000\\u0003L��\\t�0\\fF�UJ�N�\\u0006NQ�\\r%`��\\'\\n\"��Ћ���nb��f\\u0012=�&9����i\\u001a\\'f�\\u0015�]�~j\\u0019*\\u0014$��W��\\u0013Reg��_T1\\u0013-��\\u0000\\u0000\\u0000��\\u0003\\u0000�;�oc\\u0000\\u0000\\u0000' \r\n}\r\n````\r\n\r\nHere's the post http://stackoverflow.com/questions/31375038/decoding-unicode-encoded-json-with-node"},"comment":{"url":"https://api.github.com/repos/ciaranj/node-oauth/issues/comments/121042603","html_url":"https://github.com/ciaranj/node-oauth/issues/256#issuecomment-121042603","issue_url":"https://api.github.com/repos/ciaranj/node-oauth/issues/256","id":121042603,"user":{"login":"cyberwombat","id":777498,"avatar_url":"https://avatars.githubusercontent.com/u/777498?v=3","gravatar_id":"","url":"https://api.github.com/users/cyberwombat","html_url":"https://github.com/cyberwombat","followers_url":"https://api.github.com/users/cyberwombat/followers","following_url":"https://api.github.com/users/cyberwombat/following{/other_user}","gists_url":"https://api.github.com/users/cyberwombat/gists{/gist_id}","starred_url":"https://api.github.com/users/cyberwombat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyberwombat/subscriptions","organizations_url":"https://api.github.com/users/cyberwombat/orgs","repos_url":"https://api.github.com/users/cyberwombat/repos","events_url":"https://api.github.com/users/cyberwombat/events{/privacy}","received_events_url":"https://api.github.com/users/cyberwombat/received_events","type":"User","site_admin":false},"created_at":"2015-07-13T20:15:37Z","updated_at":"2015-07-13T20:15:37Z","body":"I think this is very specific to MC so I am closing and working directly with them. "}}