-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
📋 Bug Description
Estou usando seguinte endpoint:
POST /chat/markMessageAsRead/{{instance}}
Com o seguinte body:
{ "readMessages": [ { "remoteJid": "numero@s.whatsapp.net", "fromMe": false, "id": "id-da-mensagem" } ] }
Retorno:
{ "status": 500, "error": "Internal Server Error", "response": { "message": [ "Read messages fail", "TypeError: (0 , D.isJidUser) is not a function" ] } }
🔄 Steps to Reproduce
- Executar uma chamada para o endpoint POST /chat/markMessageAsRead/{{instance}}
- Com o seguinte body:
{ "readMessages": [ { "remoteJid": "numero@s.whatsapp.net", "fromMe": false, "id": "id-da-mensagem" } ] }
✅ Expected Behavior
Era esperado marcar a mensagem como lida
❌ Actual Behavior
Gerou erro 500 - TypeError: (0 , D.isJidUser) is not a function
🌍 Environment
- OS: [e.g. Amazon Linux 2023.7.20250527]
- Node.js version: [e.g. 22.16.0]
- Evolution API version: [e.g. 2.3.6]
- Database: [e.g. PostgreSQL 16]
- Connection type: [e.g. Baileys]
📋 Logs
Nenhum log é impresso.📝 Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working