{"action":"created","issue":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/1534","repository_url":"https://api.github.com/repos/tgalal/yowsup","labels_url":"https://api.github.com/repos/tgalal/yowsup/issues/1534/labels{/name}","comments_url":"https://api.github.com/repos/tgalal/yowsup/issues/1534/comments","events_url":"https://api.github.com/repos/tgalal/yowsup/issues/1534/events","html_url":"https://github.com/tgalal/yowsup/issues/1534","id":149928759,"number":1534,"title":"registration returns old_version for Whatsapp Version 2.12.440, bad_token for later version (2.16.2)","user":{"login":"parag","id":180552,"avatar_url":"https://avatars.githubusercontent.com/u/180552?v=3","gravatar_id":"","url":"https://api.github.com/users/parag","html_url":"https://github.com/parag","followers_url":"https://api.github.com/users/parag/followers","following_url":"https://api.github.com/users/parag/following{/other_user}","gists_url":"https://api.github.com/users/parag/gists{/gist_id}","starred_url":"https://api.github.com/users/parag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parag/subscriptions","organizations_url":"https://api.github.com/users/parag/orgs","repos_url":"https://api.github.com/users/parag/repos","events_url":"https://api.github.com/users/parag/events{/privacy}","received_events_url":"https://api.github.com/users/parag/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-04-21T01:09:20Z","updated_at":"2016-04-21T08:01:55Z","closed_at":null,"body":"yowsup-cli registration --requestcode sms --phone 91xxxxxxxxxx --cc 91 --mcc 404 --mnc 60 -d\r\nDEBUG:yowsup.common.http.warequest:{'Accept': 'text/json', 'User-Agent': 'WhatsApp/2.12.440 Android/4.3 Device/Xiaomi-armani'}\r\nDEBUG:yowsup.common.http.warequest:cc=91&in=9986930005&lc=GB&lg=en&sim_mcc=404&sim_mnc=060&mcc=404&mnc=060&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=5428&rchash=2c3d5ddf3b0b4ec9ef2875c26e9493f111a8f4e4ac755e9676c28e73b2604b34&anhash=de2ce769bcc6a4be1da9b06a483c28c3&extexist=1&extstate=1&token=MJKXh7iO735IIOtaUBg6jqozvQs%3D&id=%84%5C%7D%95%D6ef%7B%FD%ED%90%3D%02%D9%E5%B1%5C%1BW%17\r\nDEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net\r\nDEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=91&in=9986930005&lc=GB&lg=en&sim_mcc=404&sim_mnc=060&mcc=404&mnc=060&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=5428&rchash=2c3d5ddf3b0b4ec9ef2875c26e9493f111a8f4e4ac755e9676c28e73b2604b34&anhash=de2ce769bcc6a4be1da9b06a483c28c3&extexist=1&extstate=1&token=MJKXh7iO735IIOtaUBg6jqozvQs%3D&id=%84%5C%7D%95%D6ef%7B%FD%ED%90%3D%02%D9%E5%B1%5C%1BW%17\r\n\r\nINFO:yowsup.common.http.warequest:b'{\"status\":\"fail\",\"reason\":\"old_version\"}\\n'\r\nstatus: b'fail'\r\nreason: b'old_version'\r\n\r\n\r\n\r\nOn updating Android version, I get bad token\r\n\r\nyowsup-cli registration --requestcode sms --phone 91xxxxxxxxxx --cc 91 --mcc 404 --mnc 60 -d\r\nDEBUG:yowsup.common.http.warequest:{'User-Agent': 'WhatsApp/2.16.2 Android/4.3 Device/Xiaomi-armani', 'Accept': 'text/json'}\r\nDEBUG:yowsup.common.http.warequest:cc=91&in=9986930005&lc=GB&lg=en&sim_mcc=404&sim_mnc=060&mcc=404&mnc=060&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=5604&rchash=d6d53dce57a534a23657fb518d9c1af927884b094330af38c88e37b08a0b6382&anhash=1ff425b1d1827b8c21fef7b69865b6fe&extexist=1&extstate=1&token=MJKXh7iO735IIOtaUBg6jqozvQs%3D&id=t%99%7B-IL%C1%7F%8A%BE%81%14%CC%F9%F5B%3F%A0M%EA\r\nDEBUG:yowsup.common.http.warequest:Opening connection to v.whatsapp.net\r\nDEBUG:yowsup.common.http.warequest:Sending GET request to /v2/code?cc=91&in=9986930005&lc=GB&lg=en&sim_mcc=404&sim_mnc=060&mcc=404&mnc=060&method=sms&mistyped=6&network_radio_type=1&simnum=1&s=&copiedrc=1&hasinrc=1&rcmatch=1&pid=5604&rchash=d6d53dce57a534a23657fb518d9c1af927884b094330af38c88e37b08a0b6382&anhash=1ff425b1d1827b8c21fef7b69865b6fe&extexist=1&extstate=1&token=MJKXh7iO735IIOtaUBg6jqozvQs%3D&id=t%99%7B-IL%C1%7F%8A%BE%81%14%CC%F9%F5B%3F%A0M%EA\r\nINFO:yowsup.common.http.warequest:b'{\"status\":\"fail\",\"reason\":\"bad_token\"}\\n'\r\nstatus: b'fail'\r\nreason: b'bad_token'"},"comment":{"url":"https://api.github.com/repos/tgalal/yowsup/issues/comments/212794763","html_url":"https://github.com/tgalal/yowsup/issues/1534#issuecomment-212794763","issue_url":"https://api.github.com/repos/tgalal/yowsup/issues/1534","id":212794763,"user":{"login":"biji","id":665559,"avatar_url":"https://avatars.githubusercontent.com/u/665559?v=3","gravatar_id":"","url":"https://api.github.com/users/biji","html_url":"https://github.com/biji","followers_url":"https://api.github.com/users/biji/followers","following_url":"https://api.github.com/users/biji/following{/other_user}","gists_url":"https://api.github.com/users/biji/gists{/gist_id}","starred_url":"https://api.github.com/users/biji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biji/subscriptions","organizations_url":"https://api.github.com/users/biji/orgs","repos_url":"https://api.github.com/users/biji/repos","events_url":"https://api.github.com/users/biji/events{/privacy}","received_events_url":"https://api.github.com/users/biji/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T08:01:55Z","updated_at":"2016-04-21T08:01:55Z","body":"Work for me by updating env like this: https://github.com/mgp25/Chat-API/commit/e3f994059ab466fee6732e99b826de4733c3e9b5"}}