-
-
Notifications
You must be signed in to change notification settings - Fork 725
Description
Description
Individual chat - Not able to send message using some mobile numbers but for some other it is working fine
debug: [PROD-WPS-919311507656:client] Emitting onAnyMessage event (1 registered)
0|wppconnect-server | error: 2025-11-07T13:50:59.802Z Lid is missing in chat table - Error: Lid is missing in chat table
0|wppconnect-server | at /opt/wppserver/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:107:31
0|wppconnect-server | at step (/opt/wppserver/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:49:23)
0|wppconnect-server | at Object.next (/opt/wppserver/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:30:53)
0|wppconnect-server | at fulfilled (/opt/wppserver/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/helpers/evaluate-and-return.js:21:58)
0|wppconnect-server | JS Stack: Error: Lid is missing in chat table
0|wppconnect-server | at i (https://static.whatsapp.net/rsrc.php/v4/yc/r/uIHs1_8J82y.js:77:180)
0|wppconnect-server | at Object.callback (https://static.whatsapp.net/rsrc.php/v4i3wL4/yC/l/en_GB-j/Vh3pSqmPsZb.js:733:1471)
0|wppconnect-server | at Object. (https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:7552)
0|wppconnect-server | at https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:67098
0|wppconnect-server | at Array.map ()
0|wppconnect-server | at https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:66946
0|wppconnect-server | at https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:17483
0|wppconnect-server | at jb (https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:14343)
0|wppconnect-server | at ob (https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:15012)
0|wppconnect-server | at mb (https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:14862)
0|wppconnect-server | at https://static.whatsapp.net/rsrc.php/v4/ym/r/tlBeUg4V5PL.js:53:17483
0|wppconnect-server | Function: function (_a) {
0|wppconnect-server | var to = _a.to, content = _a.content, options = _a.options;
0|wppconnect-server | return WPP.chat.sendTextMessage(to, content, __assign(__assign({}, options), { waitForAck: true }));
Environment
- Wppconnect-server version(s): 2.8.6
- Browser: Chrome 142.0.7444.60
- OS: Ubuntu
- **Node version:**v20.18.3
- WhatsApp version: latest
- MultiDevice (BETA): no
- config.json: [Your src/config.json file content]
import { ServerOptions } from './types/ServerOptions';
export default {
secretKey: 'THISISMYSECURETOKEN',
host: 'http://localhost',
port: '21465',
deviceName: 'WppConnect',
poweredBy: 'WPPConnect-Server',
startAllSession: true,
tokenStoreType: 'file',
maxListeners: 15,
//customUserDataDir: './userDataDir/',
customUserDataDir: '/opt/wppconnect/',
customTokenDir: './tokens',
webhook: {
url: 'http://mumwachat.magicbricks.com/mbchat/wppwebhook',
autoDownload: true,
uploadS3: false,
readMessage: true,
allUnreadOnStart: false,
listenAcks: true,
onPresenceChanged: false,
onParticipantsChanged: true,
onReactionMessage: true,
onPollResponse: true,
onRevokedMessage: true,
onLabelUpdated: true,
onSelfMessage: true,
ignore: ['status@broadcast'],
},
websocket: {
autoDownload: false,
uploadS3: false,
},
chatwoot: {
sendQrCode: true,
sendStatus: true,
},
archive: {
enable: false,
waitTime: 10,
daysToArchive: 45,
},
log: {
level: 'silly', // Before open a issue, change level to silly and retry a action
logger: ['console', 'file'],
},
createOptions: {
browserArgs: [
'--disable-web-security',
'--no-sandbox',
'--disable-web-security',
'--aggressive-cache-discard',
'--disable-cache',
'--disable-application-cache',
'--disable-offline-load-stale-cache',
'--disk-cache-size=0',
'--disable-background-networking',
'--disable-default-apps',
'--disable-extensions',
'--disable-sync',
'--disable-dev-shm-usage',
'--disable-gpu',
'--disable-translate',
'--hide-scrollbars',
'--metrics-recording-only',
'--mute-audio',
'--no-first-run',
'--safebrowsing-disable-auto-update',
'--ignore-certificate-errors',
'--ignore-ssl-errors',
'--ignore-certificate-errors-spki-list',
],
/**
* Example of configuring the linkPreview generator
* If you set this to 'null', it will use global servers; however, you have the option to define your own server
* Clone the repository https://github.com/wppconnect-team/wa-js-api-server and host it on your server with ssl
*
* Configure the attribute as follows:
* linkPreviewApiServers: [ 'https://www.yourserver.com/wa-js-api-server' ]
*/
linkPreviewApiServers: null,
},
mapper: {
enable: false,
prefix: 'tagone-',
},
db: {
mongodbDatabase: 'tokens',
mongodbCollection: '',
mongodbUser: '',
mongodbPassword: '',
mongodbHost: '',
mongoIsRemote: true,
mongoURLRemote: '',
mongodbPort: 27017,
redisHost: 'localhost',
redisPort: 6379,
redisPassword: '',
redisDb: 0,
redisPrefix: 'docker',
},
aws_s3: {
region: 'sa-east-1' as any,
access_key_id: null,
secret_key: null,
defaultBucketName: null,
endpoint: null,
forcePathStyle: null,
},
} as unknown as ServerOptions;
Steps to Reproduce
- [First Step]
- [Second Step]
- [and so on...]
Log Output
If relevant, paste all of your Log Output
Your Code
If relevant, paste all of your challenge code in here
Additional context / Screenshot
Add any other context about the problem here. If applicable, add screenshots to help explain.