Comments (6)
it returns a 500
Could you share the full response please?
from whatsapp-http-api.
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.
from whatsapp-http-api.
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.
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.
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)
- /api/messages - API not returning all the messages in a chat HOT 1
- Send image in HD HOT 1
- [BUG][NOWEB] - Every secret code is getting invalid in whatsapp HOT 1
- Media in message.ack events HOT 2
- Custom attribute while sending message HOT 4
- CAN'T DOWNLOAD DOCKER IMAGE BEING PRO HOT 1
- [Feature Request] Group Security feature - Add the possibility to send messages only from administrators HOT 2
- [Feature Request] Receive Emoji Reactions to Message HOT 1
- [BUG][WEBJS] - Instance moves to 'FAILED' state randomly. HOT 8
- Payment failing with Patreon on different cards, any other payment method available? HOT 3
- Getting all chats is failed each time because of Timeout error [BUG][WEBJS] - HOT 3
- [Feature Request] Rocket Chat integration HOT 3
- [Feature Request] Helo How to send message to channel? HOT 1
- [BUG][WEBJS + NOWEB] - /api/sendVoice doesn't work properly HOT 2
- [BUG][BOOSTY] - subscription not working HOT 2
- [BUG][WEBJS] Run with docker compose Bug HOT 1
- [Feature Request] Does this API support WhatsApp Business? HOT 3
- [BUG][WEBJS] - Status 'FAILED' while starting a session. HOT 8
- [BUG][NOWEB] - Issue when using the proxy HOT 1
- Sync logout or stop session to devices list on phone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-http-api.