{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/508","repository_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node","labels_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/508/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/508/comments","events_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/508/events","html_url":"https://github.com/Azure/azure-mobile-apps-node/issues/508","id":192144064,"number":508,"title":"Registering client for push fails due to an invalid tag","user":{"login":"m-andersen","id":17090294,"avatar_url":"https://avatars.githubusercontent.com/u/17090294?v=3","gravatar_id":"","url":"https://api.github.com/users/m-andersen","html_url":"https://github.com/m-andersen","followers_url":"https://api.github.com/users/m-andersen/followers","following_url":"https://api.github.com/users/m-andersen/following{/other_user}","gists_url":"https://api.github.com/users/m-andersen/gists{/gist_id}","starred_url":"https://api.github.com/users/m-andersen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-andersen/subscriptions","organizations_url":"https://api.github.com/users/m-andersen/orgs","repos_url":"https://api.github.com/users/m-andersen/repos","events_url":"https://api.github.com/users/m-andersen/events{/privacy}","received_events_url":"https://api.github.com/users/m-andersen/received_events","type":"User","site_admin":false},"labels":[{"id":208043621,"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/labels/Category-Bug","name":"Category-Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":{"login":"adrianhall","id":1489465,"avatar_url":"https://avatars.githubusercontent.com/u/1489465?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhall","html_url":"https://github.com/adrianhall","followers_url":"https://api.github.com/users/adrianhall/followers","following_url":"https://api.github.com/users/adrianhall/following{/other_user}","gists_url":"https://api.github.com/users/adrianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhall/subscriptions","organizations_url":"https://api.github.com/users/adrianhall/orgs","repos_url":"https://api.github.com/users/adrianhall/repos","events_url":"https://api.github.com/users/adrianhall/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhall/received_events","type":"User","site_admin":false},"assignees":[{"login":"adrianhall","id":1489465,"avatar_url":"https://avatars.githubusercontent.com/u/1489465?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianhall","html_url":"https://github.com/adrianhall","followers_url":"https://api.github.com/users/adrianhall/followers","following_url":"https://api.github.com/users/adrianhall/following{/other_user}","gists_url":"https://api.github.com/users/adrianhall/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianhall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianhall/subscriptions","organizations_url":"https://api.github.com/users/adrianhall/orgs","repos_url":"https://api.github.com/users/adrianhall/repos","events_url":"https://api.github.com/users/adrianhall/events{/privacy}","received_events_url":"https://api.github.com/users/adrianhall/received_events","type":"User","site_admin":false}],"milestone":null,"comments":15,"created_at":"2016-11-28T23:15:45Z","updated_at":"2016-11-30T21:59:13Z","closed_at":"2016-11-29T22:50:03Z","body":"I'm using latest azure-mobile-apps 3.0.2 and I have an Android client that is registering itself with push to the node server. This is normally done as part of the mobile apps SDK for Android and has been working fine. I discovered recently that it sometimes comes up with an error, and I don't know how critical it is, but for sure it doesn't look like it should be there. This is the output\r\n\r\nPUT /push/installations/dfad096c-5956-407e-99eb-169504562abc\r\n. . .\r\n2016-11-27T20:23:23.358Z - error:  Error: 400 - Installation validation failed with following error(s):\r\n\r\nAn invalid tag(s) ',_UserId:sid:3e2d36c26fc1a21973ddae5e8418bc0b' was supplied. Valid tag characters are alphanumeric, _, @, -, ., : and #..TrackingId:f4698ddb-178c-4bd2-add8-a3d9327f09ff_G12,TimeStamp:11/27/2016 8:23:23 PM\r\n    at Function.ServiceClient._normalizeError (D:\\home\\site\\wwwroot\\node_modules\\azure-common\\lib\\services\\serviceclient.js:814:23)\r\n    at NotificationHubService.ServiceClient._processResponse (D:\\home\\site\\wwwroot\\node_modules\\azure-common\\lib\\services\\serviceclient.js:455:41)\r\n    at Request.processResponseCallback [as _callback] (D:\\home\\site\\wwwroot\\node_modules\\azure-common\\lib\\services\\serviceclient.js:213:35)\r\n    at Request.self.callback (D:\\home\\site\\wwwroot\\node_modules\\request\\request.js:187:22)\r\n    at emitTwo (events.js:87:13)\r\n    at Request.emit (events.js:172:7)\r\n    at Request.<anonymous> (D:\\home\\site\\wwwroot\\node_modules\\request\\request.js:1044:10)\r\n    at emitOne (events.js:77:13)\r\n    at Request.emit (events.js:169:7)\r\n    at IncomingMessage.<anonymous> (D:\\home\\site\\wwwroot\\node_modules\\request\\request.js:965:12)\r\n\r\nAs the client doesn't send anything the error must be somewhere in node SDK.\r\nCan anybody please check what is happening? The comma in front of _UserId is something the SDK has done I believe. But why I don't know.\r\nI hope this is a known issue and there is a fix on the way. \r\n\r\nCan this make push notifications to the client stop working?\r\nIf I delete all client app data and do a re-registering after login it seems to work."},"comment":{"url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/comments/264009042","html_url":"https://github.com/Azure/azure-mobile-apps-node/issues/508#issuecomment-264009042","issue_url":"https://api.github.com/repos/Azure/azure-mobile-apps-node/issues/508","id":264009042,"user":{"login":"danderson00","id":1265935,"avatar_url":"https://avatars.githubusercontent.com/u/1265935?v=3","gravatar_id":"","url":"https://api.github.com/users/danderson00","html_url":"https://github.com/danderson00","followers_url":"https://api.github.com/users/danderson00/followers","following_url":"https://api.github.com/users/danderson00/following{/other_user}","gists_url":"https://api.github.com/users/danderson00/gists{/gist_id}","starred_url":"https://api.github.com/users/danderson00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danderson00/subscriptions","organizations_url":"https://api.github.com/users/danderson00/orgs","repos_url":"https://api.github.com/users/danderson00/repos","events_url":"https://api.github.com/users/danderson00/events{/privacy}","received_events_url":"https://api.github.com/users/danderson00/received_events","type":"User","site_admin":false},"created_at":"2016-11-30T21:59:13Z","updated_at":"2016-11-30T21:59:13Z","body":"Sorry for joining late - it is possible to debug remotely, but I've struggled to get it working myself. http://willi.am/blog/2015/07/24/debugging-nodejs-azure-web-apps/ should be the right steps."}}
{"actor":{"display_login":"danderson00"}}