Error when updating groups picture
Welcome!
- [X] Yes, I have searched for similar issues on GitHub and found none.
What did you do?
When using the endpoint group/updateGroupPicture, wich is a POST http request, it timesout everytime.
What did you expect?
modified image on the group
What did you observe instead of what you expected?
Time out on the request and nothing modified on the groups picture
Screenshots/Videos
Which version of the API are you using?
2.1.0
What is your environment?
Windows
Other environment specifications
No response
If applicable, paste the log output
No response
Additional Notes
No response
same problem when querying all groups.
Same issue here on v1.8.1. It's a baileys side problem, and seemms to be already solved on version 6.7.7, but when I tried updating from 6.7.4 I got these errors on evo's compilation:
0.427 > tsc
0.427
10.34 src/api/services/channels/whatsapp.baileys.service.ts(1580,55): error TS2345: Argument of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' is not assignable to parameter of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.
10.34 Property 'isLatest' is optional in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' but required in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'.
10.34 src/api/services/channels/whatsapp.baileys.service.ts(3029,48): error TS2345: Argument of type 'WAPrivacyValue' is not assignable to parameter of type 'WAPrivacyGroupAddValue'.
10.34 Type '"none"' is not assignable to type 'WAPrivacyGroupAddValue'.
same issue here on 2.1.0... error 404 instead from Evolution api, not related to Baileys, don't even reach the evolution instance do log something
Also, looking to the code, the right method to it, is PUT not POST
Same issue here on v1.8.1. It's a baileys side problem, and seemms to be already solved on version 6.7.7, but when I tried updating from 6.7.4 I got these errors on evo's compilation:
0.427 > tsc 0.427 10.34 src/api/services/channels/whatsapp.baileys.service.ts(1580,55): error TS2345: Argument of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' is not assignable to parameter of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'. 10.34 Property 'isLatest' is optional in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' but required in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'. 10.34 src/api/services/channels/whatsapp.baileys.service.ts(3029,48): error TS2345: Argument of type 'WAPrivacyValue' is not assignable to parameter of type 'WAPrivacyGroupAddValue'. 10.34 Type '"none"' is not assignable to type 'WAPrivacyGroupAddValue'.
I succeed fixing these DataTypes errors on compilation and this problem was actually solved on baileys v6.7.8. Now is all woking fine :+1:
O mesmo problema aqui na v1.8.1. É um problema do lado do Baileys, e parece já ter sido resolvido na versão 6.7.7, mas quando tentei atualizar da 6.7.4, obtive esses erros na compilação do evo:
0.427 > tsc 0.427 10.34 src/api/services/channels/whatsapp.baileys.service.ts(1580,55): error TS2345: Argument of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' is not assignable to parameter of type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'. 10.34 Property 'isLatest' is optional in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest?: boolean; progress?: number; syncType?: HistorySyncType; }' but required in type '{ chats: Chat[]; contacts: Contact[]; messages: IWebMessageInfo[]; isLatest: boolean; }'. 10.34 src/api/services/channels/whatsapp.baileys.service.ts(3029,48): error TS2345: Argument of type 'WAPrivacyValue' is not assignable to parameter of type 'WAPrivacyGroupAddValue'. 10.34 Type '"none"' is not assignable to type 'WAPrivacyGroupAddValue'.Eu consegui consertar esses erros de DataTypes na compilação e esse problema foi realmente resolvido no baileys v6.7.8. Agora está tudo funcionando bem 👍
Continuo com o mesmo erro, mesmo com a versão do baileys 6.7.8 e evolution v 1.7.5 alguma sugestão para solucionar o problema ?
Continuo com o mesmo erro, mesmo com a versão do baileys 6.7.8 e evolution v 1.7.5 alguma sugestão para solucionar o problema ?
Eu estou na 1.8.1, atualiza logo o evo pra 1.8.2 que deve resolver.
To na evo 2.1.0 e não está funcionando
Chegaram a testar na versão 2.1.2 ou 2.2.0?
não esta a funcionar na versão 2.1.2, alguem resolveu ai?