{"action":"created","issue":{"url":"https://api.github.com/repos/argon/node-apn/issues/361","repository_url":"https://api.github.com/repos/argon/node-apn","labels_url":"https://api.github.com/repos/argon/node-apn/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/argon/node-apn/issues/361/comments","events_url":"https://api.github.com/repos/argon/node-apn/issues/361/events","html_url":"https://github.com/argon/node-apn/issues/361","id":135995861,"number":361,"title":"Notification caused error: 8 for device  Device","user":{"login":"teledna","id":570332,"avatar_url":"https://avatars.githubusercontent.com/u/570332?v=3","gravatar_id":"","url":"https://api.github.com/users/teledna","html_url":"https://github.com/teledna","followers_url":"https://api.github.com/users/teledna/followers","following_url":"https://api.github.com/users/teledna/following{/other_user}","gists_url":"https://api.github.com/users/teledna/gists{/gist_id}","starred_url":"https://api.github.com/users/teledna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teledna/subscriptions","organizations_url":"https://api.github.com/users/teledna/orgs","repos_url":"https://api.github.com/users/teledna/repos","events_url":"https://api.github.com/users/teledna/events{/privacy}","received_events_url":"https://api.github.com/users/teledna/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-02-24T08:51:59Z","updated_at":"2016-02-24T10:05:51Z","closed_at":null,"body":"i am facing invalid token issue. Below is the log\r\n```\r\nNotification caused error: 8 for device  Device {\r\n  token: <Buffer 14 1c 25 bc 19 b1 bf 38 c7 53 e2 ab ae ec 4a b5 c8 de 9d 4e 96 73 79 0a 4d ec 12 bd 77 49 ea 51> } Notification {\r\n  encoding: 'utf8',\r\n  payload: { aps: { alert: 'Hello, from node-apn! You are number: 0' } },\r\n  expiry: 0,\r\n  identifier: 0,\r\n  retryLimit: -1,\r\n  device: undefined,\r\n  alert: 'Hello, from node-apn! You are number: 0',\r\n  badge: '0',\r\n  sound: undefined,\r\n  newsstandAvailable: undefined,\r\n  contentAvailable: undefined,\r\n  mdm: undefined,\r\n  compiled: true,\r\n  compiledPayload: '{\"aps\":{\"alert\":\"Hello, from node-apn! You are number: 0\"}}' }\r\n  apn Raising error: +1ms 8 Notification {\r\n  encoding: 'utf8',\r\n  payload: { aps: { alert: 'Hello, from node-apn! You are number: 0' } },\r\n  expiry: 0,\r\n  identifier: 0,\r\n  retryLimit: -1,\r\n  device: undefined,\r\n  alert: 'Hello, from node-apn! You are number: 0',\r\n  badge: '0',\r\n  sound: undefined,\r\n  newsstandAvailable: undefined,\r\n  contentAvailable: undefined,\r\n  mdm: undefined,\r\n  compiled: true,\r\n  compiledPayload: '{\"aps\":{\"alert\":\"Hello, from node-apn! You are number: 0\"}}' } Device {\r\n  token: <Buffer 14 1c 25 bc 19 b1 bf 38 c7 53 e2 ab ae ec 4a b5 c8 de 9d 4e 96 73 79 0a 4d ec 12 bd 77 49 ea 51> }\r\n  apn Buffering 0 notifications for resending +2ms\r\n  apn Socket closed +1ms 1\r\n```"},"comment":{"url":"https://api.github.com/repos/argon/node-apn/issues/comments/188173428","html_url":"https://github.com/argon/node-apn/issues/361#issuecomment-188173428","issue_url":"https://api.github.com/repos/argon/node-apn/issues/361","id":188173428,"user":{"login":"teledna","id":570332,"avatar_url":"https://avatars.githubusercontent.com/u/570332?v=3","gravatar_id":"","url":"https://api.github.com/users/teledna","html_url":"https://github.com/teledna","followers_url":"https://api.github.com/users/teledna/followers","following_url":"https://api.github.com/users/teledna/following{/other_user}","gists_url":"https://api.github.com/users/teledna/gists{/gist_id}","starred_url":"https://api.github.com/users/teledna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teledna/subscriptions","organizations_url":"https://api.github.com/users/teledna/orgs","repos_url":"https://api.github.com/users/teledna/repos","events_url":"https://api.github.com/users/teledna/events{/privacy}","received_events_url":"https://api.github.com/users/teledna/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T10:05:51Z","updated_at":"2016-02-24T10:05:51Z","body":"App is not open"}}