Error 401 when integrating waha api with chatwoot via apps.
When connecting waha api in chatwoot, 401 error starts appearing in the integration contact.
Image1
Image2
Even though I connected to WhatsApp through the Waha dashboard, messages aren't being received or sent through Chatwoot.
I tested it via Curl and it worked perfectly; the problem seems to be solely with Chatwoot.
Has anyone been through the same thing and can help?
Try following the guide and make sure you're using the right api keys/token https://waha.devlike.pro/blog/apps-chatwoot-install/
Even after following the installation guide, I still have problems using it.
I'm running on a VPS.
I want to become a sponsor, but I would like to know if the project is for me.
For users who have experienced a similar issue:
Check your docker-compose. If the sha512 key is not spelled correctly, a 401 error will appear.
The keys should be like this: WAHA_API_KEY: "sha512:cf5f150791817ac54....." WAHA_API_KEY_PLAIN: "7839279813"
sha512 key can be generated using plain key via terminal.
My problem was solved just by placing these keys correctly in the portainer stack.