✖ Uncaught exception
/Users/a/a/scaleway-scheduler/node_modules/serverless/scripts/serverless.js:53
throw error;
^
TypeError [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be of type string or an instance of Buffer or Uint8Array. Received an instance of AxiosError
at new NodeError (node:internal/errors:399:5)
at _write (node:internal/streams/writable:315:13)
at Writable.write (node:internal/streams/writable:337:10)
at WriteStream.<anonymous> (/Users/a/a/a/node_modules/cli-progress-footer/lib/private/cli-progress-footer/override-std-props.js:56:5)
at stream.write (/Users/a/a/a/node_modules/process-utils/lib/private/get-override-stream-write.js:12:54)
at /Users/a/a/a/node_modules/serverless-scaleway-functions/invoke/scalewayInvoke.js:65:24
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'ERR_INVALID_ARG_TYPE'
}
Switching line 65 of scalewayInvoke.js to process.stderr.write(error.toString()); will return the error (which was a 403 in my situation).
Switching line 65 of scalewayInvoke.js to
process.stderr.write(error.toString());
will return the error (which was a 403 in my situation).