Command:
yowsup-cli registration --requestcode sms --phone 54XXXXXXXXXXX --cc 54 --mcc 722 --mnc 010 --env s40
Results in:
yowsup-cli v2.0.15
yowsup v2.5.7
Copyright (c) 2012-2016 Tarek Galal
http://www.openwhatsapp.org
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate
INFO:yowsup.common.http.warequest:b'{"login":"54XXXXXXXXXXX","status":"fail","reason":"old_version"}\n'
reason: b'old_version'
status: b'fail'
login: b'54XXXXXXXXXXX'
I'm not testing with Android, since apparently results in blocked numbers
@EibrielInv I tested with Android and it does not work also, s40 is still not working ?
lnunez@lnunez-Latitude-E7440:~/Desktop/wsp$ docker run -v /home/lnunez/Desktop/wsp:/root/.yowsup tgalal/yowsup registration --cc 56 --phone 56964364810 --requestcode sms
Unable to find image 'tgalal/yowsup:latest' locally
latest: Pulling from tgalal/yowsup
4d06f2521e4f: Pull complete
ee0c9f14fb72: Pull complete
cf85266a02b3: Pull complete
52989c0b30a6: Pull complete
b73e6df6eedf: Pull complete
Digest: sha256:4038214d8a75f0b573b39975f7968664792a53beadce8d49fe9cb71aeb9c17bf
Status: Downloaded newer image for tgalal/yowsup:latest
INFO:yowsup.common.http.warequest:{"login":"56964364810","status":"fail","reason":"old_version"}
status: fail
reason: old_version
login: 56964364810
lnunez@lnunez-Latitude-E7440:~/Desktop/wsp$
matej@mitmanek: Desktop$ docker run -v /home/matej/Desktop:/root/.yowsup tgalal/yowsup registration --cc 420 --phone 420604893825 --requestcode sms
Unable to find image 'tgalal/yowsup:latest' locally
Trying to pull repository registry.access.redhat.com/tgalal/yowsup ...
Trying to pull repository docker.io/tgalal/yowsup ...
latest: Pulling from docker.io/tgalal/yowsup
4d06f2521e4f: Pull complete
ee0c9f14fb72: Pull complete
cf85266a02b3: Pull complete
52989c0b30a6: Pull complete
b73e6df6eedf: Pull complete
Digest: sha256:4038214d8a75f0b573b39975f7968664792a53beadce8d49fe9cb71aeb9c17bf
Status: Downloaded newer image for docker.io/tgalal/yowsup:latest
Traceback (most recent call last):
File "/usr/bin/yowsup-cli", line 323, in <module>
if not parser.process():
File "/usr/bin/yowsup-cli", line 158, in process
self.handleRequestCode(self.args["requestcode"], config)
File "/usr/bin/yowsup-cli", line 174, in handleRequestCode
method
File "/usr/lib/python2.7/site-packages/yowsup/registration/coderequest.py", line 14, in __init__
idx = StorageTools.getIdentity(cc + p_in)
File "/usr/lib/python2.7/site-packages/yowsup/common/tools.py", line 70, in getIdentity
path = StorageTools.getStorageForPhone(phone)
File "/usr/lib/python2.7/site-packages/yowsup/common/tools.py", line 60, in getStorageForPhone
return StorageTools.constructPath(phone + '/')
File "/usr/lib/python2.7/site-packages/yowsup/common/tools.py", line 55, in constructPath
os.makedirs(os.path.dirname(fullPath))
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/root/.yowsup/420604893825'
matej@mitmanek: Desktop$ sudo docker run -v /home/matej/Desktop:/root/.yowsup tgalal/yowsup registration --cc 420 --phone 420604893825 --requestcode sms
matej@mitmanek: Desktop$ sudo docker run -v /home/matej/Desktop:/root/.yowsup tgalal/yowsup registration --cc 420 --phone 420604893825 --requestcode sms
[sudo] password for matej:
matej@mitmanek: Desktop$ man docker
???
Got the same issue looks like stopped working since last week.?
yowsup-cli v2.0.15
yowsup v2.5.7
INFO:yowsup.common.http.warequest:{"login":"61xxxxxxx","status":"fail","reason":"old_version"}
status: fail
reason: old_version
I have the same issue, please give more traction in order to get a fix for this.
@mcepl that is another error, it's not related with the old_version issue reported on this bug.
I have the same error: 'old_version'
_status: fail
reason: old_version_
if i login using env android... phone number get banned...
if i login using env s40 .. status : fail
s40 env version = 2.16.12
same here... happen since 2 days ago
do not use s40, it doesnt work.
try using enviroment android and change this in the env_android-py
_MD5_CLASSES = "YqW9KfOVL6cRD8aiNh8l6w=="
_VERSION = "2.18.45"
works fine for me
@halikarnass it works, thank you
@halikarnass it works, thank you
it works for what 2-3 days ? then you wait for some other code upgrade.. I guess that's the only option when using an un supported ..
as for myself im exploring other options then yowsap.api
Thank you
Hi @halikarnass, whatsapp does not ban a number in a couple of days automatically if to register via android env?
Thank
@halikarnass
Requesting code using -E android works fine:
./yowsup-cli registration -E android --requestcode sms --phone 380... --cc 380
But registration using -E android fails:
./yowsup-cli registration --register XXXXXX --phone 380... --cc 380 -E android
{"login":"...","status":"fail","reason":"temporarily_unavailable","retry_after":300,"sms_wait":300,"voice_wait":300}
Registration using -E s40 also fails with reason: old_version.
Any ideas how to fix it? Maybe we need new s40 token?
Hello,
I am getting the same error during registration --register step but with android env.
INFO:yowsup.common.http.warequest:{"login":"XXXXXXXXXXX","status":"fail","reason":"old_version"}
I have other number/identity already registered and It's still working.
I am trying to perform the registration with this config:
_MD5_CLASSES = "YqW9KfOVL6cRD8aiNh8l6w=="
_VERSION = "2.18.45"
Any ideas how to fix it? Maybe we need new s40 token?
WhatsApp stoped registration new numbers via Nokia s40.
Registrations via android env are banned by WhatsApp automatically.
@for2ne any ideas how to avoid ban after registration via android env?
Has anyone been able to register a new number recently?
while registering with 6 digit code , i got the following old version.
yowsup-cli registration --register 564100 --phone xxxxxxxxxxxx --cc 91
yowsup-cli v2.0.15
yowsup v2.5.7
INFO:yowsup.common.http.warequest:b'{"login":"xxxxxxxxxxxx","status":"fail","reason":"old_version"}\n'
status: b'fail'
login: b'xxxxxxxxxxxx'
reason: b'old_version'
i am using en_android.py following version
_MD5_CLASSES = "YqW9KfOVL6cRD8aiNh8l6w=="
_VERSION = "2.18.45"
please help me.
yes, i got the solution.
@BodduSatya What you've done?
open file: yowsup/env/__init__.py
Comment the third line:
This will force registration to use android_env file.
If you have installed yowsup using pip, you shuold uninstall it first (pip uninstall yowsup) then run build and install.
To record a list of installed files, you can use:
python setup.py install --record files.txt
python setup.py build
python setup.py install
@BodduSatya but how do you avoid ban? How long do you use registered account after registration?
unfortunately, my number was banned , after register 1 day.
any other solution...
Now I am getting this message on one number I already registered a few months ago:
general: Login Failed, reason: not-authorized
Auth Error, reason not-authorized
I would like to remember this:
If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate
And this:

Did the below changes and worked for me:
Change in env.py file
set DEFAULT="android"
Change on env_android.py
_MD5_CLASSES = "DAPy33TbNMg0Yuplp2II0A=="
_VERSION = "2.18.339"
python setup.py build
python setup.py install
yowsup-cli registration -r sms -m 000 -n 00 -p 91XXXXXXXXXX -C 91 -E android
Most helpful comment
try using enviroment android and change this in the env_android-py
_MD5_CLASSES = "YqW9KfOVL6cRD8aiNh8l6w=="
_VERSION = "2.18.45"
works fine for me