{"action":"created","issue":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/660","repository_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push","labels_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/660/comments","events_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/660/events","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/660","id":137442528,"number":660,"title":"Registration to GCM failed with error: GGLInstanceID | Unable to find token in cache Error","user":{"login":"cmarrero01","id":374908,"avatar_url":"https://avatars.githubusercontent.com/u/374908?v=3","gravatar_id":"","url":"https://api.github.com/users/cmarrero01","html_url":"https://github.com/cmarrero01","followers_url":"https://api.github.com/users/cmarrero01/followers","following_url":"https://api.github.com/users/cmarrero01/following{/other_user}","gists_url":"https://api.github.com/users/cmarrero01/gists{/gist_id}","starred_url":"https://api.github.com/users/cmarrero01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmarrero01/subscriptions","organizations_url":"https://api.github.com/users/cmarrero01/orgs","repos_url":"https://api.github.com/users/cmarrero01/repos","events_url":"https://api.github.com/users/cmarrero01/events{/privacy}","received_events_url":"https://api.github.com/users/cmarrero01/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/ios","name":"ios","color":"BFD4F2"},{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-01T02:05:46Z","updated_at":"2016-03-04T13:35:53Z","closed_at":null,"body":"Error on registration event:\r\n\r\n```\r\n2016-02-29 22:41:47.291 MDZOL[398:68222] Push Plugin register called\r\n2016-02-29 22:41:47.291 MDZOL[398:68222] PushPlugin.register: setting badge to false\r\n2016-02-29 22:41:47.291 MDZOL[398:68222] PushPlugin.register: clear badge is set to 0\r\n2016-02-29 22:41:47.292 MDZOL[398:68222] PushPlugin.register: better button setup\r\n2016-02-29 22:41:47.292 MDZOL[398:68222] GCM Sender ID 417110710849\r\n2016-02-29 22:41:47.292 MDZOL[398:68222] Using GCM Notification\r\n2016-02-29 22:41:47.293 MDZOL[398:68222] Using GCM Sandbox\r\n2016-02-29 22:41:47.309 MDZOL[398:68143] Push Plugin register success: <f077c423 fcec8d8b d7e7b9d8 2819e582 c22b2e88 f69e2f12 693bea36 0f51ea81>\r\n2016-02-29 22:41:47.434: GGLInstanceID | Unable to find token in cache Error Domain=com.google.iid Code=-25300 \"(null)\"\r\n2016-02-29 22:41:48.401 MDZOL[398:68143] Registration to GCM failed with error: The operation couldn’t be completed. (com.google.HTTPStatus error 401.)\r\n2016-02-29 22:41:48.816 MDZOL[398:68143] Error\r\n2016-02-29 22:41:48.817 MDZOL[398:68143] {\"line\":57,\"column\":54,\"sourceURL\":\"file:///var/mobile/Containers/Bundle/Application/58694C56-0DCC-44FA-8DDA-B188BBF087E9/MDZOL.app/www/plugins/phonegap-plugin-push/www/push.js\"}\r\n```\r\n\r\nThis is my conf:\r\n\r\n```\r\nvar conf = {\r\n        android: {\r\n          senderID: \"---------------\",\r\n          \"icon\": \"icon\",\r\n          \"iconColor\": \"black\"\r\n        },\r\n        ios: {\r\n          gcmSandbox: true,\r\n          senderID: \"---------------\",\r\n          alert: \"true\",\r\n          badge: false,\r\n          sound: 'false'\r\n        },\r\n        windows: {}\r\n      };\r\n```\r\n\r\nI search the error and only find that is an error with the bundle id, but is the same that my provisioning profile..\r\n\r\nAny ideas?"},"comment":{"url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/comments/192286326","html_url":"https://github.com/phonegap/phonegap-plugin-push/issues/660#issuecomment-192286326","issue_url":"https://api.github.com/repos/phonegap/phonegap-plugin-push/issues/660","id":192286326,"user":{"login":"shepax","id":9440487,"avatar_url":"https://avatars.githubusercontent.com/u/9440487?v=3","gravatar_id":"","url":"https://api.github.com/users/shepax","html_url":"https://github.com/shepax","followers_url":"https://api.github.com/users/shepax/followers","following_url":"https://api.github.com/users/shepax/following{/other_user}","gists_url":"https://api.github.com/users/shepax/gists{/gist_id}","starred_url":"https://api.github.com/users/shepax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepax/subscriptions","organizations_url":"https://api.github.com/users/shepax/orgs","repos_url":"https://api.github.com/users/shepax/repos","events_url":"https://api.github.com/users/shepax/events{/privacy}","received_events_url":"https://api.github.com/users/shepax/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T13:35:53Z","updated_at":"2016-03-04T13:35:53Z","body":"I got the same error it was because of the certificates and that I did not add the googleService-Info.plist to the project"}}