Auties00 / Cobalt

Standalone unofficial fully-featured Whatsapp Web and Mobile API for Java and Kotlin
MIT License
625 stars 183 forks source link

MobileBuilder error #332

Closed GomesDev0001 closed 1 year ago

GomesDev0001 commented 1 year ago

image image

Hello, I'm having difficulties with this part, a while ago I opened a ticket talking about the same problem and you said it was rate limit, I'm on the first attempt and again the same error came back...

GomesDev0001 commented 1 year ago

Exception in thread "main" java.util.concurrent.CompletionException: it.auties.whatsapp.exception.RegistrationException: VerificationCodeResponse[number=5513997947564, lid=0, status=ERROR, errorReason=NO_ROUTES, method=null, codeLength=0, notifyAfter=0, retryAfter=3600, voiceLength=0, voiceWait=3600, smsWait=3600, whatsappOtpWait=0, flashType=0, oldWait=0, securityCodeSet=false, whatsappOtpEligible=false] at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) at java.base/java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:722) at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) Caused by: it.auties.whatsapp.exception.RegistrationException: VerificationCodeResponse[number=5513997947564, lid=0, status=ERROR, errorReason=NO_ROUTES, method=null, codeLength=0, notifyAfter=0, retryAfter=3600, voiceLength=0, voiceWait=3600, smsWait=3600, whatsappOtpWait=0, flashType=0, oldWait=0, securityCodeSet=false, whatsappOtpEligible=false]

Auties00 commented 1 year ago

it's a rate limit, it's number based. Try another number

GomesDev0001 commented 1 year ago

am I doing it right? (Number: (DD) (State) (Number)

CanvaChen commented 1 year ago

This is not a rate limit, because the same number can get the captcha image on a real device, and receive the SMS code after passing it.

sailer132 commented 10 months ago

it's a rate limit, it's number based. Try another number

I also encountered the same problem. When I applied for a verification code from WhatsApp, it return 'no_routes'