whatsapp-api-tutorial
whatsapp-api-tutorial copied to clipboard
send media gagal di heroku
2021-10-27T18:40:15.665551+00:00 app[web.1]: (node:22) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:8080
2021-10-27T18:40:15.665552+00:00 app[web.1]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
2021-10-27T18:40:15.665573+00:00 app[web.1]: (node:22) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
Silahkan coba cek branch berikut, sudah ada penjelasannya, barangkali bisa membantu.
https://github.com/ngekoding/whatsapp-api-tutorial/tree/exploring