Skip to content

[BUG] Erro: this.isZero is not a function #2188

@GustavoMimim

Description

@GustavoMimim

📋 Bug Description

na versão 2.3.6 estou tendo o erro "this.isZero is not a function" quando uso message/sendList, será que estou fazendo alguma coisa errada?

🔄 Steps to Reproduce

API {{baseUrl}}/message/sendList/{{instance}}
Body:
{
"number": "{{remoteJid}}",
"title": "List Title",
"description": "List description",
"buttonText": "Click Here",
"footerText": "footer list\nhttps://examplelink.com.br",
"sections": [
{
"title": "Row tilte 01",
"rows": [
{
"title": "Title row 01",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 001"
},
{
"title": "Title row 02",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,",
"rowId": "rowId 002"
}
]
}
]
}

Response:
{
"status": 400,
"error": "Bad Request",
"response": {
"message": [
"TypeError: this.isZero is not a function"
]
}
}

✅ Expected Behavior

Envio com sucesso da lista

❌ Actual Behavior

TypeError: this.isZero is not a function. 400 bad request

🌍 Environment

  • Evolution API version: 2.3.6

📋 Logs

📝 Additional Context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions