yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Error in register new number for sending message

Open abbas224252 opened this issue 13 years ago • 32 comments

On Monday i have register 5 number its working . But when i try to register today i get this error . Please help me .

C:\Python27\python.exe C:/Python27/yowsup/yowsup-cli -c config -r sms status: fail param: number reason: bad_param

Process finished with exit code 0

abbas224252 avatar Jan 13 '13 18:01 abbas224252

is the number right? phone=43676123456789 id=66:66:66:66 password=

please fill in the number with your country code :) bad param (number is incorrect) edit: please no slashes and enter tabs

styl3R avatar Jan 13 '13 18:01 styl3R

It seems that whatsapp update again, when I use yowsup to register a new number, it return an error with the reason of old version.

bjdudu avatar Jan 14 '13 07:01 bjdudu

@bjdudu It's working with me, are you using latest version?. If so please try with -d and paste output

tgalal avatar Jan 14 '13 07:01 tgalal

@tgalal Here is the request: https://v.whatsapp.net/v2/code?cc=86&in=134xxxxx&lg=zh&lc=CN&method=sms&mcc=000&mnc=000&token=xxxxxxxx022cd&id=fxxxxx21e33251cb9678a54a5114a7 And with the server response: {"status":"fail","reason":"old_version"}

bjdudu avatar Jan 14 '13 09:01 bjdudu

working for me too please try to request sms code here: http://whitesoft.dyndns.org:2222/whatsapp_sms

CODeRUS avatar Jan 14 '13 09:01 CODeRUS

@bjdudu pleas3 add -d to show more output such as request headers and paste the output

tgalal avatar Jan 14 '13 15:01 tgalal

@tgalal

the headers: User-Agent: WhatsApp/2.8.2 WP7/7.10.8773.98 Device/NOKIA-Lumia_800-H112.1402.2.3 Accept: * Host: v.whatsapp.net Connection: Keep-Alive

bjdudu avatar Jan 14 '13 17:01 bjdudu

@bjdudu use latest yowsup version

tgalal avatar Jan 14 '13 17:01 tgalal

@tgalal I am sorry tgalal, I changed the UA, and it worked a week ago, and I forgot this, now it is ok.

bjdudu avatar Jan 14 '13 17:01 bjdudu

why users not update to the new version argl argl @CODeRUS can you post your way to send the reg sms @ your demo? :)) thanks

styl3R avatar Jan 14 '13 17:01 styl3R

@abbas224252 if this is your current config and output: https://f.cloud.github.com/assets/3258503/63020/c0229ae4-5da7-11e2-941e-859e5cec3fed.png, then it looks like you don't have latest version which does country-code detection correctly and supports setting country code in config. Please update and let us know.

tgalal avatar Jan 14 '13 18:01 tgalal

@styl3R Yowsup, of course @bjdudu just update Yowsup, dont use outdated version

CODeRUS avatar Jan 14 '13 18:01 CODeRUS

@CODeRUS and @tgalal yes i read , which parameter code? :) and can code a little webgui ? :)

styl3R avatar Jan 14 '13 18:01 styl3R

@styl3R

and can code a little webgui ? :)

yes! you can do it :+1: (see https://github.com/tgalal/yowsup/issues/59#issuecomment-12273440)

alejandro-amo avatar Jan 15 '13 15:01 alejandro-amo

i tried to use yowsup-cli to register whatsapp new account but i get this reponse

C:\Python27\python yowsup-cli --requestcode sms -c C:\Python27\yowsup-master\src\config.txt

status : fail

reason : old version

dragon77master avatar Aug 05 '13 08:08 dragon77master

@dragon77master https://github.com/tgalal/yowsup/pull/37

arthurbarros avatar Aug 09 '13 20:08 arthurbarros

thanx arthurbarros

dragon77master avatar Aug 20 '13 11:08 dragon77master

Hi, I don't know what I am doing wrong:

emiliano@sirius ~/Downloads/yowsup-master/src $ ./yowsup-cli -v yowsup-cli 0.3.4, using Yowsup 0.61 emiliano@sirius ~/Downloads/yowsup-master/src $ cat config cc=54 phone=3415858985 id=354712040905608 password=MDAwMDAwMDAwMA== emiliano@sirius ~/Downloads/yowsup-master/src $ ./yowsup-cli -c config --requestcode sms param: number reason: bad_param status: fail emiliano@sirius ~/Downloads/yowsup-master/src $

egnuez avatar Aug 26 '13 23:08 egnuez

Emilianito tu problema es que debes repetir el codigo de pais delante del numero telefonico "phone" phone=543415858985

germanmontedoro avatar Jan 06 '14 03:01 germanmontedoro

This is still happening and I see lots of other bug reports about the same issue. I also workaround it by using WART for registering.

juanluisbaptiste avatar Jul 15 '14 04:07 juanluisbaptiste