-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
versão da evolution-api utilizada: 2.2.0
integração: Baileys
versão do Python: 3.8.20
When trying to send a message from python back to my phone I get an error.
Checked and the token is sent properly.
`
evocli = EvolutionClient( base_url=settings.EVOLUTION_URL, api_token=settings.EVOLUTION_APITOKEN )
message = TextMessage(
number="34XXXXXXX",
text="Olá, como você está?",
delay=1000 # delay opcional em ms
)
response = evocli.messages.send_text(settings.EVOLUTION_INSTANCE_ID, message, settings.EVOLUTION_INSTANCE_TOKEN)
`
I get the error:
[Evolution API] [IvanPhone] v2.2.0 163 - Wed Mar 26 2025 10:57:51 LOG [ChannelStartupService] [string] Update messages [
{
"key": {
"remoteJid": "34XXXXXXXX:4@s.whatsapp.net",
"id": "177C32FB0F9307E85FEA3E7C6044B3F8",
"fromMe": true
},
"update": {
"status": 3
}
}
]
[Evolution API] v2.2.0 163 - Wed Mar 26 2025 10:57:56 ERROR [GUARD] [object]
TypeError: Cannot read properties of null (reading 'token')
at Op (/evolution/dist/main.js:282:59650)
Seems a bug, but can't debug evolution-cli myself.
Thanks for any clue on fixing that
Metadata
Metadata
Assignees
Labels
No labels