Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro ao enviar arquivo (imagem) #131

Closed
GMUNDI opened this issue Jul 27, 2021 · 2 comments
Closed

Erro ao enviar arquivo (imagem) #131

GMUNDI opened this issue Jul 27, 2021 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@GMUNDI
Copy link

GMUNDI commented Jul 27, 2021

Description

Ocorreu erro no server ao enviar arquivo.

Environment

  • Wppconnect version(s): 1.8.8
  • Browser: [Chrome version 92.0.4515.107]
  • OS: [Ubuntu 20.04.2 LTS]
  • Node version: [14.17.2]

Steps to Reproduce

Enviei uma inagem para um whatsapp e o envio foi OK
Na sequência fiz o envio para outro número, exibiu erro no server, retornou json de erro pelo php-client, mas enviou a mensagem.
Reiniciei o server e enviei para o mesmo número que havia dado erro anteriormente e funcionou normalmente.

Log Output

Erro no server:
error: 2021-07-27T16:52:14.484Z MediaFileEmpty - Error: MediaFileEmpty
at Object.sendToChat (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:18:168285)
at Object. (/home/ubuntu/ozap/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/lib/wapi/wapi.js:1:38410)
at Generator.next ()
at He (/home/ubuntu/ozap/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/lib/wapi/wapi.js:1:37699)
at a (/home/ubuntu/ozap/wppconnect-server/node_modules/@wppconnect-team/wppconnect/dist/lib/wapi/wapi.js:1:37903)
at q (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:2:353990)
at MutationObserver.H (https://web.whatsapp.com/bootstrap_qr.f61502d6311fd24214d7.js:2:353571)

e o retorno da chamada da função pelo php-client foi esta:

Array
(
[status] => Error
[message] => Erro ao enviar a mensagem.
[session] => 5513871974900873
)

Additional context / Screenshot

Utilizo o php-client para interagir com o server

@edgardmessias edgardmessias transferred this issue from wppconnect-team/wppconnect Jul 27, 2021
@bgastaldi
Copy link
Collaborator

Boa noite @GMUNDI Qual foi o endpoint que você usou?

@ghsgabriel ghsgabriel added question Further information is requested bug Something isn't working labels Jan 16, 2022
@ghsgabriel
Copy link
Collaborator

Fechando por inatividade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants