Auties00 / Cobalt

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

api.linkDevice failed always in whatsapp business #447

Open zhouao opened 5 months ago

zhouao commented 5 months ago

staying for a long time on the mobile, then current whatsapp crashed. x1

Auties00 commented 5 months ago

Yeah I still have work left for that api unfortunately, it will be complete before the next release

zhouao commented 5 months ago

that good. thank you very much!!!

Auties00 commented 3 months ago

this could be a target for release 1.0 as the feature is complicated

benlarsendk commented 1 month ago

@Auties00 is this only for business, or is it the same for non-business accounts? I seem to be getting the same error on non-business. If there's anything we can do, let me know.

We get the following error:

May 13, 2024 11:04:47 AM it.auties.whatsapp.api.ErrorHandler lambda$defaultErrorHandler$3 SEVERE: Socket failure at PUSH_APP_STATE java.util.concurrent.CompletionException: java.util.NoSuchElementException: Missing action at java.base/java.util.concurrent.CompletableFuture.encodeRelay(CompletableFuture.java:368) at java.base/java.util.concurrent.CompletableFuture.completeRelay(CompletableFuture.java:377) at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1152) at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) Caused by: java.util.NoSuchElementException: Missing action