Was working fine for a couple of days, then suddenly:
undefined:1
SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at packageData (node:internal/deps/undici/undici:6370:23)
at specConsumeBody (node:internal/deps/undici/undici:6348:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///C:/Users/minecraft/Desktop/bds/node_modules/friend-connect/dist/xbox/modules/rta.js:126:24
Was working fine for a couple of days, then suddenly:
undefined:1
SyntaxError: Unexpected end of JSON input at JSON.parse ()
at packageData (node:internal/deps/undici/undici:6370:23)
at specConsumeBody (node:internal/deps/undici/undici:6348:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async file:///C:/Users/minecraft/Desktop/bds/node_modules/friend-connect/dist/xbox/modules/rta.js:126:24
and
node:internal/deps/undici/undici:14062 Error.captureStackTrace(err, this); ^
TypeError: fetch failed at Object.fetch (node:internal/deps/undici/undici:14062:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: ConnectTimeoutError: Connect Timeout Error at onConnectTimeout (node:internal/deps/undici/undici:7897:28) at node:internal/deps/undici/undici:7855:50 at Immediate._onImmediate (node:internal/deps/undici/undici:7884:37) at process.processImmediate (node:internal/timers:471:21) { code: 'UND_ERR_CONNECT_TIMEOUT' } }