Open graficar opened 1 month ago
@graficar Hi! Just tested it with mongodb, worked fine for me.
Do you have any nginx in front of the server?
Could you send us logs in waha@devlike.pro when you're performing the steps:
debug: True
enabled (via dashboard or API)That would help us understand what is going on :pray:
Hi,
I just sent you an email with the subject header of this report.
What I did was enable the logs and when I updated the name of a label an error was displayed in the log:
[devlikeapro-whatsapp-http-api-pl] [2024-08-07 17:16:30] error: "Error: tried remove, but no previous op\n at Object.mix (/app/node_modules/@adiwajshing/baileys/lib/Utils/chat-utils.js:58:27)\n at decodeSyncdMutations (/app/node_modules/@adiwajshing/baileys/lib/Utils/chat-utils.js:181:21)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async decodeSyncdPatch (/app/node_modules/@adiwajshing/baileys/lib/Utils/chat-utils.js:212:20)\n at async decodePatches (/app/node_modules/@adiwajshing/baileys/lib/Utils/chat-utils.js:320:30)\n at async /app/node_modules/@adiwajshing/baileys/lib/Socket/chats.js:401:70\n at async Object.transaction (/app/node_modules/@adiwajshing/baileys/lib/Utils/auth-utils.js:136:26)\n at async /app/node_modules/@adiwajshing/baileys/lib/Socket/chats.js:337:9\n at async /app/node_modules/@adiwajshing/baileys/lib/Utils/event-buffer.js:105:36\n at async processNotification (/app/node_modules/@adiwajshing/baileys/lib/Socket/messages-recv.js:350:21)"
hi! Could you attach the full logs in https://gist.github.com/ :pray: The email cut the long text :(
Hi,
The tests were done from Swagger directly with version 2024.8.1
The labels store is with MongoDB.
I'm trying to use labels with the NOWEB API but the following happens:
In the first query it correctly showed me the labels of the account, but when editing the name of a label from the cell phone it is not updated when I consult the api again.
In the first query it worked well for me but when editing the labels from the cell phone it does not show the query correctly and if I remove all the labels from the cell phone it shows me the labels from the first query.
When I run the api it tells me that everything went well but it does not make any changes to the labels whether I consult from the api or from the cell phone directly.
Please help with these errors.