YogaSakti/imageToSticker

facebook videos are not downloaded

itsfks opened this issue · 0 comments

When someone tries to use #fb to download a video from facebook, the following error occurs:

Something went wrong TypeError: Cannot read property 'match' of undefined
at isDataURL (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:96:200)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:830:31)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at /home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:38:71
at new Promise ()
at __awaiter (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:34:12)
at Client.sendImage (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:825:16)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:905:33)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at /home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:38:71
at new Promise ()
at __awaiter (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:34:12)
at Client.sendFile (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:903:16)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:973:41)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at fulfilled (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:35:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
TypeError: Cannot read property 'match' of undefined
at isDataURL (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:96:200)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:830:31)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at /home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:38:71
at new Promise ()
at __awaiter (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:34:12)
at Client.sendImage (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:825:16)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:905:33)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at /home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:38:71
at new Promise ()
at __awaiter (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:34:12)
at Client.sendFile (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:903:16)
at Client. (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:973:41)
at step (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:63:23)
at Object.next (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:44:53)
at fulfilled (/home/felipe/imageToSticker/node_modules/@open-wa/wa-automate/dist/api/Client.js:35:58)
at process._tickCallback (internal/process/next_tick.js:68:7)

I'm new to all this (I don't even know how I managed to run the bot, laughs), but if someone can help me solve this problem, I appreciate it and a lot; Thanks in advance.