EvolutionAPI / evolution-api

Evolution API is an open-source WhatsApp integration API
https://evolution-api.com
GNU General Public License v3.0
1.5k stars 710 forks source link

Não envia mensagem para grupo #905

Open oismaelash opened 4 hours ago

oismaelash commented 4 hours ago

Welcome!

What did you do?

Nao consigo enviar mensagem para um grupo

estou tentando:

curl --location 'http://localhost:8080/message/sendText/myinstancename' \ --header 'apikey: 01010101-48F1-940D-9F57EC900E5E' \ --header 'Content-Type: application/json' \ --data-raw '{ "number": "1203633300000589695@g.us", "text": "teste de envio" }'

retorno:

{ "status": 400, "error": "Bad Request", "response": { "message": [ "TypeError: Cannot read properties of undefined (reading 'findGroup')" ] } }

What did you expect?

enviar mensagem para um grupo

What did you observe instead of what you expected?

recebo a mensagem de erro abaixo:

{ "status": 400, "error": "Bad Request", "response": { "message": [ "TypeError: Cannot read properties of undefined (reading 'findGroup')" ] } }

Screenshots/Videos

No response

Which version of the API are you using?

v2.1.1 (localhost)

What is your environment?

Windows

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

oismaelash commented 3 hours ago

Galera, o erro parou, quando ativei o Cache local CACHE_LOCAL_ENABLED=true