Skip to content

[NOWEB] - Failed when send message to group community #1901

@bobykurniawan11

Description

@bobykurniawan11

I get this when send message to community group

[02:13:51.718] ERROR (WhatsappSession/7): session:8868b306-7cfc-42ce-9c85-02f84e73141a - TypeError: jid.endsWith is not a function
    at isJidNewsletter (/app/dist/core/utils/jids.js:19:58)
    at toCusFormat (/app/dist/core/utils/jids.js:148:9)
    at /app/dist/core/engines/noweb/groups.noweb.js:74:40
    at Array.map (<anonymous>)
    at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:72: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) {"session":"8868b306-7cfc-42ce-9c85-02f84e73141a"}
    err: {
      "type": "TypeError",
      "message": "jid.endsWith is not a function",
      "stack":
          TypeError: jid.endsWith is not a function
              at isJidNewsletter (/app/dist/core/utils/jids.js:19:58)
              at toCusFormat (/app/dist/core/utils/jids.js:148:9)
              at /app/dist/core/engines/noweb/groups.noweb.js:74:40
              at Array.map (<anonymous>)
              at ToGroupV2Participants (/app/dist/core/engines/noweb/groups.noweb.js:72: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": "2026.1.3",
"engine": "NOWEB",
"tier": "PLUS",
"browser": null,
"platform": "linux/x64"
}

patron:PLUS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions