waha
waha copied to clipboard
[GOWS] - Problem on labels
Describe the bug
Endpoint failures:
POST - /api/{session}/labels - Create a new label PUT - /api/{session}/labels/{labelId} - Update a label DELETE - /api/{session}/labels/{labelId} - Delete the label PUT - /api/{session}/labels/chats/{chatId} - Save labels for the chat
Version
{
"version": "2025.11.4",
"engine": "GOWS",
"tier": "PLUS",
"browser": null
}
Steps
Response
{
"statusCode": 500,
"timestamp": "2025-12-04T14:32:03.313Z",
"exception": {
"message": "2 UNKNOWN: error upserting label: server returned error updating app state: <collection name=\"regular\" type=\"error\"><error code=\"409\" text=\"conflict\"/><patches><patch><!-- 252 bytes --></patch></patches></collection>",
"code": 2,
"details": "error upserting label: server returned error updating app state: <collection name=\"regular\" type=\"error\"><error code=\"409\" text=\"conflict\"/><patches><patch><!-- 252 bytes --></patch></patches></collection>",
"metadata": {},
"name": "Error",
"stack": "Error: 2 UNKNOWN: error upserting label: server returned error updating app state: <collection name=\"regular\" type=\"error\"><error code=\"409\" text=\"conflict\"/><patches><patch><!-- 252 bytes --></patch></patches></collection>\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:367:141)\n at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:327: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:84:11)\nfor call at\n at MessageServiceClient.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)\n at MessageServiceClient.UpsertLabel (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)\n at MessageServiceClient.UpsertLabel (/app/dist/core/engines/gows/grpc/gows.js:10028:30)\n at node:internal/util:495:21\n at new Promise (<anonymous>)\n at node:internal/util:481:12\n at WhatsappSessionGoWSPlus.updateLabel (/app/dist/core/engines/gows/session.gows.core.js:1351:61)\n at descriptor.value (/app/dist/core/abc/activity.js:9:35)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"
},
"request": {
"path": "/api/*****/labels",
"method": "POST",
"body": {
"name": "Lead - 01",
"color": 0
},
"query": {}
},
"version": {
"version": "2025.11.4",
"engine": "GOWS",
"tier": "PLUS",
"browser": null
}
}
Additional context
docker-compose.yml
version: '3'
services:
waha-dashboard:
restart: unless-stopped
image: devlikeapro/waha-plus:latest-2025.11.4
container_name: waha-dashboard
ports:
- '80:8081'
volumes:
- './app/media:/app/.media'
- './app/sessions:/app/.sessions'
env_file:
- .env.production
waha-cron:
container_name: waha-cron
build: ./waha_cron
restart: always
volumes:
- ./waha_cron/start.sh:/waha_cron/start.sh
- ./waha_cron/qrcode_timeout.sh:/waha_cron/qrcode_timeout.sh
- ./waha_cron/crontab:/etc/cron.d/crontab
environment:
- TZ=America/Sao_Paulo
+1
+1
Working on the version GOWS 2025.12.1
Create a new label:
Update a label:
Save labels for the chat:
Delete the label:
+1
Working on the version GOWS 2025.12.1
Create a new label:
Update a label:
Save labels for the chat:
Delete the label:
[](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)
do you try with official whatsapp? blue tick?
Update a label:
Save labels for the chat:
Delete the label:
[](https://waha.devlike.pro/docs/how-to/plus-version/#tiers)