GithubHelp home page GithubHelp logo

Comments (6)

allburov avatar allburov commented on June 4, 2024

it returns a 500

Could you share the full response please?

from whatsapp-http-api.

behind24proxies avatar behind24proxies commented on June 4, 2024

hi, so , yesterday it was giving me 500
now it's working fine with VENOM.

how many number verifications/checks can I do before getting banned ?

from whatsapp-http-api.

behind24proxies avatar behind24proxies commented on June 4, 2024

okay, it's coming again
image

from whatsapp-http-api.

behind24proxies avatar behind24proxies commented on June 4, 2024

okay , after debugging I found the problem and the solution :

The issue is that when a check_phone_number request is made before the webhooks are initialized on the server, it does not return a response. In other cases, the response contains an error stating that the server cannot read the properties of the WhatsApp service and is unable to retrieve the check_number.

Upon further investigation, it was determined that when the check_phone_number request is made before the websockets are fully loaded on the server, it causes a freeze in the docker container, which prevents the server from being able to send messages afterwards. However, the server is still able to refresh the Swagger UI.

To resolve this issue, it is recommended to ensure that the webhooks are fully initialized on the server before making the endpoints available for the , in order to avoid the freeze in the docker container.

from whatsapp-http-api.

allburov avatar allburov commented on June 4, 2024

Hi! We've added contacts endpoints in WAHA

Right now it supports:

  • Get all contacts or a single one
  • Get "about" contact (aka status)
  • Get contact's profile picture
  • Check phone number is registered in WhatsApp (works even if the number is not in your contact list)
  • Block and unblock contacts

It supports default engine, so no needs to use venom for phone number check. Please have a look, it may help you!

The endpoints are available in WAHA Plus 2023.1 version and we'll add them in Core version in February 2023

from whatsapp-http-api.

allburov avatar allburov commented on June 4, 2024

To resolve this issue, it is recommended to ensure that the webhooks are fully initialized on the server before making the endpoints available for the , in order to avoid the freeze in the docker container.

Great idea, thank you! We'll work on that #40

from whatsapp-http-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.