We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am frequently getting this error and then the WhatsApp get disconnected. Any idea where I might be going wrong
Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing. at C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:107:31 at step (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:49:23) at Object.next (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:30:53) at fulfilled (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:21:58) at runMicrotasks () at processTicksAndRejections (node:internal/process/task_queues:96:5) JS Stack: Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing. at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839) at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282 at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228 at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440) at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197) at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048) Function: function (_a) { var to = _a.to, content = _a.content, options = _a.options; return WPP.chat.sendTextMessage(to, content, __assign(__assign({}, options), { waitForAck: true })); } { _e: { name: 'Error', message: '', stack: 'Error\n' + ' at z (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:4041)\n' + ' at new r (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:5569)\n' + ' at Ae.rejectionMapper (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:56931)\n' + ' at Ue (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:9711)\n' + ' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10613)\n' + ' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' + ' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)' }, inner: { name: 'InvalidStateError', message: "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.", stack: "Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.\n" + ' at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839)\n' + ' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282\n' + ' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228\n' + ' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440)\n' + ' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' + ' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)' } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I am frequently getting this error and then the WhatsApp get disconnected. Any idea where I might be going wrong
Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
Environment
Steps to Reproduce
Log Output
Error [InvalidStateError]: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:107:31
at step (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:49:23)
at Object.next (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:30:53)
at fulfilled (C:\Projects\ServerWA\node_modules@wppconnect-team\wppconnect\dist\api\helpers\evaluate-and-return.js:21:58)
at runMicrotasks ()
at processTicksAndRejections (node:internal/process/task_queues:96:5)
JS Stack: Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839)
at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282
at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228
at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440)
at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)
at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)
Function: function (_a) {
var to = _a.to, content = _a.content, options = _a.options;
return WPP.chat.sendTextMessage(to, content, __assign(__assign({}, options), { waitForAck: true }));
} {
_e: {
name: 'Error',
message: '',
stack: 'Error\n' +
' at z (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:4041)\n' +
' at new r (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:5569)\n' +
' at Ae.rejectionMapper (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:56931)\n' +
' at Ue (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:9711)\n' +
' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10613)\n' +
' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' +
' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)'
},
inner: {
name: 'InvalidStateError',
message: "Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.",
stack: "Error: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.\n" +
' at we.create (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:38839)\n' +
' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:30282\n' +
' at https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:15228\n' +
' at je (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:10440)\n' +
' at Ye (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11197)\n' +
' at Be (https://web.whatsapp.com/vendor1~app.4802d7adf05a55e9c1dc.js:7:11048)'
}
}
The text was updated successfully, but these errors were encountered: