wa-automate-nodejs icon indicating copy to clipboard operation
wa-automate-nodejs copied to clipboard

sendMp4AsSticker() - Multiple errors

Open TVARecordings opened this issue 1 year ago • 0 comments

Are you using the latest version of the library?

  • [X] I have checked and am using the latest version of the library.

What type of session are you experiencing this issue on?

Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag

What type of host account are you experiencing this issue on?

Business account

Mode

My own code

Current Behavior

Code not coding. Work not working.

Expected Behavior

Expected it to work ;3

Steps To Reproduce

The following StickerMetaData options and processOptions are broken, and return all basically the same errors.

StickerMetaData options that are broken: { "circle": true,"cornerRadius": 50 }

  • Message: Request failed with status code 550
  • Name: AxiosError
  • Stack: AxiosError: Request failed with status code 550 at settle (E:\AmecaCore\node_modules\axios\dist\node\axios.cjs:2019:12) at IncomingMessage.handleStreamEnd (E:\AmecaCore\node_modules\axios\dist\node\axios.cjs:3135:11) at IncomingMessage.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (E:\AmecaCore\node_modules\axios\dist\node\axios.cjs:4287:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

[Request Configuration]

  • Method: post
  • URL: https://sticker-api.openwa.dev/convertMp4BufferToWebpDataUrl
  • Timeout: Not Available
  • Headers: { "Accept": "application/json, text/plain, /", "Content-Type": "application/json", "User-Agent": "axios/1.7.7", "Content-Length": "196673", "Accept-Encoding": "gzip, compress, deflate, br" }
  • Adapter: [ "xhr", "http", "fetch" ]
  • Target Participants Silent: Not Available

[Response Details]

  • Status: 550
  • Code: ERR_BAD_RESPONSE

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
  "WA_VERSION": "2.3000.1018313481",
  "WA_AUTOMATE_VERSION": "4.74.0 UPDATE AVAILABLE: 4.74.1",
  "BROWSER_VERSION": "Chrome/131.0.6778.70",
  "START_TS": 1732035442702,
  "RAM_INFO": "Total: 68.62 GB | Free: 43.50 GB",
  "PPTR_VERSION": "23.6.0",
  "LATEST_VERSION": false,
  "CLI": false,
  "PATCH_HASH": "CACHED-3aa89",
  "LAUNCH_TIME_MS": 6363,
  "ACC_TYPE": "BUSINESS",
  "chats": 80,
  "messages": 147,
  "contacts": 13220,
  "isBiz": true,
  "isMd": true,
  "INSTANCE_ID": "1db4b2d8-7edf-42d7-a45e-b473d30f1574"
}

Environment

- OS: Windows 10
- Node: 20.17.0
- npm: 10.8.3

Screenshots/Logs

No response

Anything else?

No response

TVARecordings avatar Nov 19 '24 17:11 TVARecordings