[GOWS] - Status (Stories) sending failures
Subject: Bug: Status (Stories) sending failures
Describe the bug When attempting to send a Status message (Story), the process consistently fails, regardless of whether sending is done all at once or using try batches.
Version Information { "version": "2025.05.05", "engine": "gows", }
Additionally, when I send in batches, gows simply ignores the batches and the msg id and just tries to send the message normally (to all contacts and with a different message id than what I set). In noweb, the exact same thing, works
My code remains the same, I just changed the engine: This is how it was sent in gows:
2025-05-29T09:22:31.350740709Z [12:22:30.575] INFO (8): [Session/num1/Client] Sending status message (3EB0F14222DBB8CC978F8B) in 9 batches - 42114 participants in total, 5000 per batch {"engine":"gows"}
2025-05-29T09:22:49.407871661Z [12:22:49.370] ERROR (8): [Session/ali-status/Client] Failed to send message (3EB0F14222DBB8CC978F8B) to (batch 1/9): server returned error 400 {"engine":"gows"}
That's how in noweb
[12:36:18.310] INFO (WhatsappSession/7): session:num2- Sending status message to 512 participants {"session":"ali","message.id":"3EB0E57988C25419889F2B","chunks":1,"size":512}
Relevant Docker Logs
[19:32:05.291] INFO (7): [Session/ali-status/Client] Sending status message (3EB0D2EA18803356ABA8B2) in 9 batches - 42104 participants in total, 5000 per batch {"engine":"gows"}
[19:32:07.087] INFO (MediaManager/7): session:ali-status - The message 'E4E503B2C90E1AB2BE35CF300145212B' has 'image/jpeg' mimetype media, skip it. {"session":"ali-status"}
[19:32:07.197] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB0C351B5444359ADE8E3): All attempts fail: {"engine":"gows"}
[19:32:07.197] INFO (7): #1: not found {"engine":"gows"}
[19:32:07.197] INFO (7): #2: not found {"engine":"gows"}
[19:32:07.197] INFO (7): #3: not found {"engine":"gows"}
[19:32:07.197] INFO (7): #4: not found {"engine":"gows"}
[19:32:07.197] INFO (7): #5: not found {"engine":"gows"}
[19:32:07.197] INFO (7): #6: not found {"engine":"gows"}
[19:32:07.235] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB0C351B5444359ADE8E3): All attempts fail: {"engine":"gows"}
[19:32:07.235] INFO (7): #1: not found {"engine":"gows"}
[19:32:07.235] INFO (7): #2: not found {"engine":"gows"}
[19:32:07.235] INFO (7): #3: not found {"engine":"gows"}
[19:32:07.235] INFO (7): #4: not found {"engine":"gows"}
[19:32:07.235] INFO (7): #5: not found {"engine":"gows"}
[19:32:07.235] INFO (7): #6: not found {"engine":"gows"}
Like this for hours
2025-05-28T17:00:41.100296893Z [20:00:40.341] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB0E5D5CE7B4AAEFABD57): All attempts fail: {"engine":"gows"}
2025-05-28T17:00:41.100300403Z [20:00:40.341] INFO (7): #1: not found {"engine":"gows"}
2025-05-28T17:00:41.100303639Z [20:00:40.341] INFO (7): #2: not found {"engine":"gows"}
2025-05-28T17:00:41.100306721Z [20:00:40.341] INFO (7): #3: not found {"engine":"gows"}
2025-05-28T17:00:41.100309855Z [20:00:40.341] INFO (7): #4: not found {"engine":"gows"}
2025-05-28T17:00:41.100313033Z [20:00:40.341] INFO (7): #5: not found {"engine":"gows"}
2025-05-28T17:00:41.100316308Z [20:00:40.341] INFO (7): #6: not found {"engine":"gows"}
2025-05-28T17:00:41.100318341Z [20:00:40.693] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB024AF7164B5A4ED31BF): All attempts fail: {"engine":"gows"}
2025-05-28T17:00:41.100320694Z [20:00:40.694] INFO (7): #1: not found {"engine":"gows"}
2025-05-28T17:00:41.100325107Z [20:00:40.694] INFO (7): #2: not found {"engine":"gows"}
2025-05-28T17:00:41.100327114Z [20:00:40.694] INFO (7): #3: not found {"engine":"gows"}
2025-05-28T17:00:41.100329123Z [20:00:40.694] INFO (7): #4: not found {"engine":"gows"}
2025-05-28T17:00:41.100331061Z [20:00:40.694] INFO (7): #5: not found {"engine":"gows"}
2025-05-28T17:00:41.100333031Z [20:00:40.694] INFO (7): #6: not found {"engine":"gows"}
2025-05-28T17:00:42.124995651Z [20:00:42.051] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB0C78C4CE1037A6007C5): All attempts fail: {"engine":"gows"}
2025-05-28T17:00:42.125097715Z [20:00:42.051] INFO (7): #1: not found {"engine":"gows"}
2025-05-28T17:00:42.125108593Z [20:00:42.051] INFO (7): #2: not found {"engine":"gows"}
2025-05-28T17:00:42.125112292Z [20:00:42.051] INFO (7): #3: not found {"engine":"gows"}
2025-05-28T17:00:42.125114764Z [20:00:42.051] INFO (7): #4: not found {"engine":"gows"}
2025-05-28T17:00:42.125116727Z [20:00:42.051] INFO (7): #5: not found {"engine":"gows"}
2025-05-28T17:00:42.125119270Z [20:00:42.051] INFO (7): #6: not found {"engine":"gows"}
2025-05-28T17:00:44.174699313Z [20:00:43.210] ERROR (7): [Session/ali-status/Client/Storage] Error getting message status@broadcast(3EB0C351B5444359ADE8E3): All attempts fail: {"engine":"gows"}
I am also struggling with this error for some numbers.
{"level":50,"time":1748946264755,"pid":1,"hostname":"313b8672c77e","engine":"gows","msg":"[Session/session_01jwrqmes4k61pzkm2bkn6f4wn/Client] Failed to send message (3EB05883690D53ED134A52) to (batch 1/1): server returned error 400"} {"level":30,"time":1748946264757,"pid":1,"hostname":"313b8672c77e","reqId":325,"req":{"id":325,"method":"POST","url":"/api/session_01jwrqmes4k61pzkm2bkn6f4wn/status/image","query":{},"params":{"0":"api/session_01jwrqmes4k61pzkm2bkn6f4wn/status/image"}},"res":{"statusCode":500},"err":{"type":"Error","message":"2 UNKNOWN: batch 1: server returned error 400","stack":"Error: 2 UNKNOWN: batch 1: server returned error 400\n at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:31:19)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:193:76)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)\n at /app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78\n at process.processTicksAndRejections (node:internal/process/task_queues:85:11)\nfor call at\n at MessageServiceClient.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)\n at MessageServiceClient.SendMessage (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)\n at MessageServiceClient.SendMessage (/app/dist/core/engines/gows/grpc/gows.js:8588:30)\n at node:internal/util:435:21\n at new Promise (<anonymous>)\n at node:internal/util:421:12\n at WhatsappSessionGoWSPlus.sendMedia (/app/dist/plus/engines/gows/session.gows.plus.js:110:78)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async WhatsappSessionGoWSPlus.sendImageStatus (/app/dist/plus/engines/gows/session.gows.plus.js:169:16)","code":2,"details":"batch 1: server returned error 400","metadata":{"content-type":["application/grpc"]}},"responseTime":15837,"msg":"request errored"} {"level":50,"time":1748946264755,"pid":1,"hostname":"313b8672c77e","engine":"gows","msg":"[Session/session_01jwrqmes4k61pzkm2bkn6f4wn/Client] Failed to send status message (3EB05883690D53ED134A52): batch 1: server returned error 400"}
Hope this helps in locating the issue.
Could this be a memory issue? (Another user with more contacts is working fine.)
This phone number is on WhatsApp Business. Tried on another WA Business phone with just 900 contacts, same error.
Here is more information on this. docker logs - i am using 2025.6.2 - gows
waha-1 | {"level":30,"time":1749685505903,"pid":6,"hostname":"4f7f20ea0392","engine":"gows","msg":"[Session/session_01jqxbdn4ndrn5taxyetzb2je4/Client] Sending status message (3EB01D7A2547F804146D17) in 1 batches - 3134 participants in total, 5000 per batch"}
waha-1 | {"level":50,"time":1749685516437,"pid":6,"hostname":"4f7f20ea0392","engine":"gows","msg":"[Session/session_01jqxbdn4ndrn5taxyetzb2je4/Client] Failed to send message (3EB01D7A2547F804146D17) to (batch 1/1): server returned error 400"}
waha-1 | {"level":50,"time":1749685516438,"pid":6,"hostname":"4f7f20ea0392","engine":"gows","msg":"[Session/session_01jqxbdn4ndrn5taxyetzb2je4/Client] Failed to send status message (3EB01D7A2547F804146D17): batch 1: server returned error 400"}
waha-1 | {"level":30,"time":1749685516443,"pid":6,"hostname":"4f7f20ea0392","reqId":479,"req":{"id":479,"method":"POST","url":"/api/session_01jqxbdn4ndrn5taxyetzb2je4/status/image","query":{},"params":{"path":["api","session_01jqxbdn4ndrn5taxyetzb2je4","status","image"]}},"res":{"statusCode":500},"err":{"type":"Error","message":"2 UNKNOWN: batch 1: server returned error 400","stack":"Error: 2 UNKNOWN: batch 1: server returned error 400\n at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:32:19)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:193:76)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:361:141)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324:181)\n at /app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78\n at process.processTicksAndRejections (node:internal/process/task_queues:85:11)\nfor call at\n at MessageServiceClient.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)\n at MessageServiceClient.SendMessage (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)\n at MessageServiceClient.SendMessage (/app/dist/core/engines/gows/grpc/gows.js:8796:30)\n at node:internal/util:435:21\n at new Promise (<anonymous>)\n at node:internal/util:421:12\n at WhatsappSessionGoWSPlus.sendMedia (/app/dist/plus/engines/gows/session.gows.plus.js:123:78)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async WhatsappSessionGoWSPlus.sendImageStatus (/app/dist/plus/engines/gows/session.gows.plus.js:182:16)","code":2,"details":"batch 1: server returned error 400","metadata":{"content-type":["application/grpc"]}},"responseTime":12589,"msg":"request errored"}
Hi! Could you try to update to 2025.7.3 and see how it goes?
https://waha.devlike.pro/docs/overview/changelog/#20257