waha
waha copied to clipboard
[NOWEB] - Caught error, dropping value from, event: 'group.v2.participants' (even when the event webhook is not an active event)
Describe the bug
Everytime someone joins or leave a group I receive this on the logs, on multiple sessions. I don't have this event (group.v2.participants) activated for these sessions, only message.any and session.status.
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 session=wpp_rz_966ab2d4_968 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 session=wpp_rz_50b7f5be_821 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 reqId=2920 session=wpp_rz_0fbc52db_100 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 session=wpp_rz_2bf04f4a_069 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 session=wpp_rz_b3557879_750 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 session=wpp_rz_4e7553f3_490 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 reqId=2381 session=wpp_rz_43948b3a_450 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 reqId=2381 session=wpp_rz_43948b3a_450 name=WhatsappSession err={"type":"TypeError","message":"jid.endsWith is not a function","stack":"TypeError: jid.endsWith is not a function\n at isJidNewsletter (/app/dist/core/utils/jids.js:17:58)\n at toCusFormat (/app/dist/core/utils/jids.js:126:9)\n at /app/dist/core/engines/noweb/groups.noweb.js:73:40\n at Array.map (<anonymous>)\n at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:71:46)\n at /app/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37\n at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)\n at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)\n at /app/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34\n at Object.errorContext (/app/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)\n at Subject.next (/app/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)\n at Object.next (/app/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)\n at ConsumerObserver.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)\n at Subscriber._next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)\n at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)\n at EventEmitter.handler (/app/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js:59:31)"} msg=TypeError: jid.endsWith is not a function
at isJidNewsletter (/app/dist/core/utils/jids.js:17:58)
at toCusFormat (/app/dist/core/utils/jids.js:126:9)
at /app/dist/core/engines/noweb/groups.noweb.js:73:40
at Array.map (<anonymous>)
at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:71:46)
at /app/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37
at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
at /app/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34
at Object.errorContext (/app/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
at Subject.next (/app/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)
at Object.next (/app/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)
at ConsumerObserver.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)
at Subscriber._next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)
at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
at EventEmitter.handler (/app/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js:59:31)
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 reqId=2381 session=wpp_rz_43948b3a_450 name=WhatsappSession msg=Caught error, dropping value from, event: 'group.v2.participants'
2025/10/31 03:42PM 50 pid=8 hostname=68eb166c4cf4 reqId=2381 session=wpp_rz_43948b3a_450 name=WhatsappSession err={"type":"TypeError","message":"jid.endsWith is not a function","stack":"TypeError: jid.endsWith is not a function\n at isJidNewsletter (/app/dist/core/utils/jids.js:17:58)\n at toCusFormat (/app/dist/core/utils/jids.js:126:9)\n at /app/dist/core/engines/noweb/groups.noweb.js:73:40\n at Array.map (<anonymous>)\n at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:71:46)\n at /app/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37\n at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)\n at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)\n at /app/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34\n at Object.errorContext (/app/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)\n at Subject.next (/app/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)\n at Object.next (/app/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)\n at ConsumerObserver.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)\n at Subscriber._next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)\n at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)\n at EventEmitter.handler (/app/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js:59:31)"} msg=TypeError: jid.endsWith is not a function
at isJidNewsletter (/app/dist/core/utils/jids.js:17:58)
at toCusFormat (/app/dist/core/utils/jids.js:126:9)
at /app/dist/core/engines/noweb/groups.noweb.js:73:40
at Array.map (<anonymous>)
at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:71:46)
at /app/node_modules/rxjs/dist/cjs/internal/operators/map.js:10:37
at OperatorSubscriber._this._next (/app/node_modules/rxjs/dist/cjs/internal/operators/OperatorSubscriber.js:33:21)
at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
at /app/node_modules/rxjs/dist/cjs/internal/Subject.js:69:34
at Object.errorContext (/app/node_modules/rxjs/dist/cjs/internal/util/errorContext.js:22:9)
at Subject.next (/app/node_modules/rxjs/dist/cjs/internal/Subject.js:59:24)
at Object.next (/app/node_modules/rxjs/dist/cjs/internal/operators/share.js:69:58)
at ConsumerObserver.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:113:33)
at Subscriber._next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:80:26)
at Subscriber.next (/app/node_modules/rxjs/dist/cjs/internal/Subscriber.js:51:18)
at EventEmitter.handler (/app/node_modules/rxjs/dist/cjs/internal/observable/fromEvent.js:59:31)
Version
Latest.
{
"version": "20252.10.4",
"engine": "NOWEB",
"tier": "PLUS"
}
Steps
To Reproduce Steps to reproduce the behavior:
- Start and connect a session with your number and enter a group.
- Join or leave the same group with another number.
Expected behavior
No errors.