code-chat-br/whatsapp-api

erro sendbuttons

Closed this issue · 0 comments

I have searched for similar issues on GitHub and found none.

  • Yes

Steps to reproduce the issue

ao enviar mensagens com {{baseUrl}}/message/sendButtons/teste1 retornar o erro {
"errno": -21,
"code": "EISDIR",
"syscall": "unlink",
"path": "/whatsapp-api/uploads"
} CodeChat] 275 - Tue Oct 29 2024 04:41:03 ERROR [WAStartupService] [4:teste1]
Error: EISDIR: illegal operation on a directory, read
at Object.readSync (node:fs:750:18)
at tryReadSync (node:fs:424:20)
at readFileSync (node:fs:478:19)
at WAStartupService. (/whatsapp-api/dist/src/whatsapp/services/whatsapp.service.js:1249:51)
at Generator.next ()
at /whatsapp-api/dist/src/whatsapp/services/whatsapp.service.js:31:71
at new Promise ()
at __awaiter (/whatsapp-api/dist/src/whatsapp/services/whatsapp.service.js:27:12)
at WAStartupService.prepareMediaMessage (/whatsapp-api/dist/src/whatsapp/services/whatsapp.service.js:1203:16)
at WAStartupService. (/whatsapp-api/dist/src/whatsapp/services/whatsapp.service.js:1415:39) {
errno: -21,
code: 'EISDIR',
syscall: 'read'
}

Describe what you expected to happen.

gostaria que saber como usar o thumbnailUrl

Explain what actually happens when you follow the steps above.

..

Enter the version number found in the version property of package.json.

1,3,3

If possible, add screenshots or videos that illustrate the issue.

This can be extremely helpful to better understand the issue.

No response

The environment in which the application is running

Windows

Please attach any logs that might be related to the issue.

If the logs contain sensitive information, consider sending them privately to one of the project maintainers.

No response

Include any other information you think might be useful to understand or resolve the bug.

No response