{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"open","user":{"avatar_url":"https://secure.gravatar.com/avatar/0e0244d58b5cc928442aa1dee5e6e7be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0e0244d58b5cc928442aa1dee5e6e7be","url":"https://api.github.com/users/charlieanna","login":"charlieanna","id":994048},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-04T17:58:52Z","comments":2,"closed_at":null,"url":"https://api.github.com/repos/stackmob/StackMob_iOS/issues/25","body":"I have uploaded the certificate and now trying to send the notification but below this are the logs am getting. Could you guys pelase help me out? I have already used your c2dm and it works very nicely .\r\n\r\nRequest Headers\r\n\r\nURL: http://umobile.mob1.stackmob.com/push/0/pocketcollege/push_tokens_universal\r\n\r\nAuthorization: OAuth realm=\"\", oauth_signature=\"fQaj8brUIXwVT5XsDRmW%2FJuTZMo%3D\", oauth_nonce=\"33376687420960982\", oauth_signature_method=\"HMAC-SHA1\", oauth_consumer_key=\"c538c37d-50b6-4d55-8c72-a9f4fbd06b3c\", oauth_timestamp=\"1320387765\"\r\n\r\nContent-Length: [216]\r\n\r\nAccept-Encoding: []\r\n\r\nAccept: [application/json]\r\n\r\nRequest Body\r\n\r\n         \r\n{\r\n  \"payload\": {  \r\n    \"kvPairs\": {    \r\n      \"push_token_type\": \"iOS\",\r\n      \"alert\": \"Hi how are you?\"      \r\n    }    \r\n  },\r\n  \"tokens\": [  \r\n    {    \r\n      \"token\": \"4890A209934FE5020C53394D82C2EDBC1E1DADF138C9CDA65E53A27BB296D092\",\r\n      \"type\": \"iOS\",\r\n      \"registered_milliseconds\": 1320387765549      \r\n    }    \r\n  ]  \r\n}\r\n\r\n      \r\nFormatted JSON Raw JSON\r\nResponse Headers\r\n\r\nHTTP/1.1 400 Bad Request\r\n\r\nContent-Length: 27\r\n\r\nContent-Type: application/json charset=UTF-8\r\n\r\nConnection: close\r\n\r\nResponse Body\r\n\r\n        \r\n{\r\n  \"error\": \"no valid tokens\"  \r\n}\r\n\r\n\r\n","html_url":"https://github.com/stackmob/StackMob_iOS/issues/25","number":25,"title":"Issue while sending push notification from stackmob push console","id":2141121,"created_at":"2011-11-04T06:24:41Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0e0244d58b5cc928442aa1dee5e6e7be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0e0244d58b5cc928442aa1dee5e6e7be","url":"https://api.github.com/users/charlieanna","login":"charlieanna","id":994048},"updated_at":"2011-11-04T17:58:52Z","url":"https://api.github.com/repos/stackmob/StackMob_iOS/issues/comments/2634267","body":"Yes I have registered for the token. Only after registering the token. did I try sending the message. \r\nOn 04-Nov-2011, at 11:26 PM, Aaron Schlesinger wrote:\r\n\r\n> Hi @charlieanna - did you register the token before you made the call to push_tokens_universal?\r\n> \r\n> --- \r\n> Reply to this email directly or view it on GitHub:\r\n> https://github.com/stackmob/StackMob_iOS/issues/25#issuecomment-2634232","id":2634267,"created_at":"2011-11-04T17:58:52Z"}}