Hello! I'm getting the following error when trying to forward a message
rror: 2021-06-28T05:27:53.391Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:00.496Z message is missing critical data needed to download the file. - Error: message is missing critical data needed to download the file. at Whatsapp.<anonymous> (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:319:35) at step (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:64:23) at Object.next (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:45:53) at /opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:39:71 at new Promise (<anonymous>) at __awaiter (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:35:12) at Whatsapp.decryptFile (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:311:16) at getMediaByMessage (/opt/wppconnect-server/src/controller/sessionController.js:217:33) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:01.719Z message is missing critical data needed to download the file. - Error: message is missing critical data needed to download the file. at Whatsapp.<anonymous> (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:319:35) at step (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:64:23) at Object.next (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:45:53) at /opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:39:71 at new Promise (<anonymous>) at __awaiter (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:35:12) at Whatsapp.decryptFile (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:311:16) at getMediaByMessage (/opt/wppconnect-server/src/controller/sessionController.js:217:33) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:23.495Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:45:57.974Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:45:58.176Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:58:15.774Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5)
Another problem with this method is when i try to forward big files like 80MB+, the webhook crashed for some reason and i need to restart the server to get it work.
Description
Hello! I'm getting the following error when trying to forward a message
rror: 2021-06-28T05:27:53.391Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:00.496Z message is missing critical data needed to download the file. - Error: message is missing critical data needed to download the file. at Whatsapp.<anonymous> (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:319:35) at step (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:64:23) at Object.next (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:45:53) at /opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:39:71 at new Promise (<anonymous>) at __awaiter (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:35:12) at Whatsapp.decryptFile (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:311:16) at getMediaByMessage (/opt/wppconnect-server/src/controller/sessionController.js:217:33) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:01.719Z message is missing critical data needed to download the file. - Error: message is missing critical data needed to download the file. at Whatsapp.<anonymous> (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:319:35) at step (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:64:23) at Object.next (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:45:53) at /opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:39:71 at new Promise (<anonymous>) at __awaiter (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:35:12) at Whatsapp.decryptFile (/opt/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/api/whatsapp.js:311:16) at getMediaByMessage (/opt/wppconnect-server/src/controller/sessionController.js:217:33) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:28:23.495Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:45:57.974Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:45:58.176Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at processTicksAndRejections (internal/process/task_queues.js:97:5) error: 2021-06-28T05:58:15.774Z Cannot read property '_serialized' of undefined - TypeError: Cannot read property '_serialized' of undefined at forwardMessages (/opt/wppconnect-server/src/controller/deviceController.js:327:23) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5)
Another problem with this method is when i try to forward big files like 80MB+, the webhook crashed for some reason and i need to restart the server to get it work.