venom: send file not work

Description

[Description of the bug, When Issue Happens]

Environment

  • Venom version(s): [e.g. 2.0.27, 2.2.1]
  • Browser: [e.g. Chrome 87, Chromium 85]
  • OS: [e.g. OSX 10.13.4, Windows 10]
  • Node version: [e.g. Node 8, Node 14]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on…]

Log Output

If relevant, paste all of your Log Output

Your Code

If relevant, paste all of your challenge code in here

Additional context / Screenshot

Add any other context about the problem here. If applicable, add screenshots to help explain.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19 (8 by maintainers)

Commits related to this issue

Most upvoted comments

You don’t describe it more specific, but actually I got same topic error when sending image or file I got json with error message (not an exception). this is return I’ve got while sending a file or image.

"Error when sending":{ "me":{ "id":"1", "ref":"1@dbLOMKoWyV4C08P3yapamYozJU57gMhgjlbwxIC7ix+HZXXC2Oj1ds0LUrk6I81HqW94ci62P5hp+A==", "refTTL":20000, "wid":{ "server":"c.us", "user":"6281330144033", "_serialized":"6281330144033@c.us" }, "connected":true, "protoVersion":[ 0, 17 ], "clientToken":"Re/kd3zewuSMN0pMEjOPR0KmNupJWJnRTHMo4mBD/JA=", "serverToken":"1@iQHcu6jw7gNMkhMFaBhhOcVQjr/vY+30b8MydjCvCRZO3pXU2pRbh8M6lF8iSXoLJEDot6q8wCGlQA==", "isResponse":"true", "battery":41, "plugged":false, "lc":"US", "lg":"en", "locales":"en-US", "platform":"smba", "phone":{ "wa_version":"2.20.206.24", "mcc":"510", "mnc":"089", "os_version":"9", "device_manufacturer":"asus", "device_model":"ASUS_X00T_3", "os_build_number":"PKQ1.WW_Phone-16.2017.2009.087-20200826" }, "tos":0, "smbTos":0, "pushname":"Sabit Studio", "blockStoreAdds":false, "isVoipInitialized":false }, "to":{ "fromMe":true, "remote":{ "server":"c.us", "user":"6285791818225", "_serialized":"6285791818225@c.us" }, "id":"N6EGSUC3ROYYHTJ2Z50T", "_serialized":"true_6285791818225@c.us_N6EGSUC3ROYYHTJ2Z50T", "isOnline":null }, "erro":true, "text":"lagi dong", "status":false, "type":"sendImage", "filename":"6285791818225-from_me-wa-1613448934533.png", "mimeType":"image/png" }