Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

checkNumberStatus is returning false even for a valid number #1604

Closed
manish-snappe opened this issue Mar 28, 2023 · 5 comments
Closed

checkNumberStatus is returning false even for a valid number #1604

manish-snappe opened this issue Mar 28, 2023 · 5 comments

Comments

@manish-snappe
Copy link

While checking if a number is valid using checkNumberStatus, we are sometimes getting false (invalid number). Even for a valid WhatsApp number. After restart, it gives a true response. For the same number

@manish-snappe
Copy link
Author

image

Reference response

@Saifallak
Copy link

Saifallak commented Apr 1, 2023

isnt this fixed by (wppconnect-team/wa-js@556a97f) / tag/v2.23.0 ?

@antirek
Copy link
Contributor

antirek commented Apr 14, 2023

same problem
wa.js 2.23.2
wppconnect 1.23.2
chrome 110

@edgardmessias Edgar, please, comment https://github.com/wppconnect-team/wa-js/blob/556a97ff31b2d1961a5e5e5ec61a6e13441dd4d6/src/contact/functions/queryExists.ts#L111
after 15 secs can repeat check number exists and request will be to whatsapp server but not cache?

@edgardmessias
Copy link
Contributor

@antirek , yes, this is the idea, I tried to avoid some ban with repetitive error

@mahmouds12
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants