evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

SessionError: No sessions API V 2.2.3

Open giordano221 opened this issue 7 months ago • 6 comments

Welcome!

  • [x] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Problema já conhecido em versões anteriores. Agora novamente na versão 2.2.3: 400 - {"status":400,"error":"Bad Request","response":{"message":["SessionError: No sessions"]}}

What did you expect?

What did you observe instead of what you expected?

Screenshots/Videos

No response

Which version of the API are you using?

Versão 2.2.3

What is your environment?

Windows

Other environment specifications

If applicable, paste the log output

No response

Additional Notes

No response

giordano221 avatar May 07 '25 11:05 giordano221

Same issue, but when i use other whatsapp api wrapper, this thing does not happen, means that i can send the message succesfully without issue, just letting you know, im also finding solution for this bug

i also have try creating a new instance=new sessions and link the whatsapp number again, suprisingly, the same group cant send the message to it

HambaBersalah avatar May 08 '25 09:05 HambaBersalah

Same issue, but when i use other whatsapp api wrapper, this thing does not happen, means that i can send the message succesfully without issue, just letting you know, im also finding solution for this bug

Yep, I'm having the same issue as well. Although it doesn't happen all the time and only happens to certain group chats

decaffinetedturtle avatar May 08 '25 09:05 decaffinetedturtle

It seem the issue is happening at baileys itself. Can check it out here: https://github.com/WhiskeySockets/Baileys/issues/1383

imleaver avatar May 09 '25 09:05 imleaver

It seem the issue is happening at baileys itself. Can check it out here: WhiskeySockets/Baileys#1383

I see thanks for linking the baileys issue, I'll check that out 👍🏻

decaffinetedturtle avatar May 09 '25 09:05 decaffinetedturtle

Baileys pre-release version seem contain the fix, hope evolution api can follow the latest fix as well https://github.com/WhiskeySockets/Baileys/releases/tag/nightly

imleaver avatar May 09 '25 09:05 imleaver

Changing - CACHE_REDIS_PREFIX_KEY= to another value in ENV solved the issue for me.

hipur avatar May 21 '25 16:05 hipur

for me even after restart the container and change the redis cache prefix key, I still get error

SessionError: No sessions

at 7572211949684.14 [as awaitable] (/evolution/node_modules/libsignal/src/session_cipher.js:71:23)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

at async _asyncQueueExecutor (/evolution/node_modules/libsignal/src/queue_job.js:20:29) 

rhafiko avatar Jun 03 '25 19:06 rhafiko

Same error here. Doesnt works changing redis prefix key.

maxisimonazzi avatar Jun 17 '25 15:06 maxisimonazzi

same issue is occurring while I send image message to one particular contact, not group. I have disabled reddis cache in .env file. Any fix ?

kondurisai avatar Jun 20 '25 06:06 kondurisai

Alguma solução ou sabem exatamente oq é?

nicolas-da-flly avatar Jun 23 '25 22:06 nicolas-da-flly

Problem persists in version 2.3.0.

vilsonnjr avatar Jul 13 '25 02:07 vilsonnjr

Mine fix, just pull the latest image if ur using docker, thanks evolution api team

HambaBersalah avatar Jul 14 '25 07:07 HambaBersalah

Does anyone have any solutions?

I’ve already tried enabling the Redis cache, disabling the Redis cache, setting the prefix, setting the WhatsApp version—nothing works. I’m running the latest version of Evolution.

vilsonnjr avatar Jul 17 '25 14:07 vilsonnjr

Reinstaling the service resolved the problem in my case

RCallejo2 avatar Jul 25 '25 20:07 RCallejo2

I used the image: evoapicloud/evolution-api:v2.3.4

build and up...

Edu-Luan avatar Oct 02 '25 14:10 Edu-Luan

I am in the same situation and have tried everything, but I cannot solve the problem. I get this error when sending a message to a group, but if I send a message to a particular number, it works.

bigdatafran avatar Oct 19 '25 07:10 bigdatafran

i have face same issue on n8n

Image

mobinulislam143 avatar Nov 06 '25 17:11 mobinulislam143