{"action":"created","issue":{"url":"https://api.github.com/repos/ocilo/skype-http/issues/50","repository_url":"https://api.github.com/repos/ocilo/skype-http","labels_url":"https://api.github.com/repos/ocilo/skype-http/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/ocilo/skype-http/issues/50/comments","events_url":"https://api.github.com/repos/ocilo/skype-http/issues/50/events","html_url":"https://github.com/ocilo/skype-http/issues/50","id":245829783,"number":50,"title":"Error","user":{"login":"Madji","id":2238714,"avatar_url":"https://avatars0.githubusercontent.com/u/2238714?v=4","gravatar_id":"","url":"https://api.github.com/users/Madji","html_url":"https://github.com/Madji","followers_url":"https://api.github.com/users/Madji/followers","following_url":"https://api.github.com/users/Madji/following{/other_user}","gists_url":"https://api.github.com/users/Madji/gists{/gist_id}","starred_url":"https://api.github.com/users/Madji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madji/subscriptions","organizations_url":"https://api.github.com/users/Madji/orgs","repos_url":"https://api.github.com/users/Madji/repos","events_url":"https://api.github.com/users/Madji/events{/privacy}","received_events_url":"https://api.github.com/users/Madji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-26T19:32:01Z","updated_at":"2017-07-27T05:48:44Z","closed_at":null,"body":"Acquired SkypeToken\r\nAcquired RegistrationToken\r\n{ net: Unable to subscribe to resources: statusCode: 403 body: \r\n    at /laptop/node_modules/skype-http/dist/lib-es2015/lib/login.js:163:35\r\n    at Generator.next (<anonymous>)\r\n    at fulfilled ( /laptop/node_modules/skype-http/dist/lib-es2015/lib/login.js:4:58)\r\n    at process._tickCallback (internal/process/next_tick.js:109:7) name: 'net', data: {} }"},"comment":{"url":"https://api.github.com/repos/ocilo/skype-http/issues/comments/318265295","html_url":"https://github.com/ocilo/skype-http/issues/50#issuecomment-318265295","issue_url":"https://api.github.com/repos/ocilo/skype-http/issues/50","id":318265295,"user":{"login":"Madji","id":2238714,"avatar_url":"https://avatars0.githubusercontent.com/u/2238714?v=4","gravatar_id":"","url":"https://api.github.com/users/Madji","html_url":"https://github.com/Madji","followers_url":"https://api.github.com/users/Madji/followers","following_url":"https://api.github.com/users/Madji/following{/other_user}","gists_url":"https://api.github.com/users/Madji/gists{/gist_id}","starred_url":"https://api.github.com/users/Madji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Madji/subscriptions","organizations_url":"https://api.github.com/users/Madji/orgs","repos_url":"https://api.github.com/users/Madji/repos","events_url":"https://api.github.com/users/Madji/events{/privacy}","received_events_url":"https://api.github.com/users/Madji/received_events","type":"User","site_admin":false},"created_at":"2017-07-27T05:48:44Z","updated_at":"2017-07-27T05:48:44Z","body":"function subscribeToResources(ioOptions, registrationToken) {\r\n    return __awaiter(this, void 0, void 0, function* () {\r\n        // TODO(demurgos): typedef\r\n        // tslint:disable-next-line:typedef\r\n        const requestDocument = {\r\n            interestedResources: [\r\n            //    \"/v1/threads/ALL\",\r\n            //  \"/v1/users/ME/contacts/ALL\",\r\n            //    \"/v1/users/ME/conversations/ALL/messages\",\r\n            //    \"/v1/users/ME/conversations/ALL/properties\",\r\n            ],\r\n            template: \"raw\",\r\n            channelType: \"httpLongPoll\",\r\n        };\r\n        const requestOptions = {\r\n            uri: messagesUri.subscriptions(registrationToken.host),\r\n            cookies: ioOptions.cookies,\r\n            body: JSON.stringify(requestDocument),\r\n            headers: {\r\n                RegistrationToken: registrationToken.raw,\r\n            },\r\n        };\r\n------------\r\nI hope I understand correctly. I did so. and got the same error as in the beginning\r\n\r\n"}}
{"actor":{"display_login":"Madji"}}