Whatsapp Business Api gives error when accessing their apis
I am working on Whatsapp Business API. When i am trying to access the API, it shows me an error with
"details": "Connection refused. Please check if wacore is running."
Any help to solve it. This is my Docker Whatsapp container running
This usually means your waweb is running but your wacore container is not running or you somehow restart the wacore container.
You could run
docker ps -aTo find out the wacore container And run
Docker logs containeridto see the logs , if you could grab the logs I could see why wacore is down for you
shutdown and restart normally will help
docker-compose down docker-compose up -dFrom my experience setting up the servers on AWS, there are 2 things that cause this error message to be returned.
The current cloud formation template has a bug, maybe, that doesn't add the DB password to the environment variables for the container images. Adding it manually and re-deploying fixes the issue. The phone number you will be using for the business account, added on WhatsApp manager, needs to be registered with your instance with WhatsApp servers.