You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
'sec-ch-ua-platform': '"macOS"',
Authorization: 'Intuit_APIKey intuit_apikey=prdakyreswUFDpkOPDkky63TSWvxZbtemfYVms81, intuit_apkey_version=1.0',
Referer: 'https://quickbooks.intuit.com/',
'-X-DEVICEID': 'a',
'Accept-Language': 'en-US,en;q=0.9',
'sec-ch-ua': '"Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99"',
'-X-APPID': "'Intuit.data.entdataproc.trackingcoreclient'",
'-X-INTUIT_TID': 'a',
'sec-ch-ua-mobile': '?0',
'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36',
'Content-Type': 'application/json'
} Error
at NetworkManager.mergeRequestHeaders (/.../agent/main/lib/NetworkManager.ts:415:30)
at NetworkManager.onNetworkRequestWillBeSent (/.../agent/main/lib/NetworkManager.ts:383:10)
at DevtoolsSession.emit (node:events:524:28)
at DevtoolsSession.emit (/.../node_modules/commons/lib/TypedEventEmitter.ts:162:18)
at DevtoolsSession.onMessage (/.../agent/main/lib/DevtoolsSession.ts:117:12)
at Connection.onMessage (/.../agent/main/lib/Connection.ts:87:23)
at process.processImmediate (node:internal/timers:493:21)
2024-12-13T16:54:26.837Z ERROR [hero-core/index] UnhandledError(fatal) {
origin: 'uncaughtException',
context: {},
sessionId: null,
sessionName: undefined
} TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at /.../agent/main/lib/NetworkManager.ts:421:8
at Array.map (<anonymous>)
at NetworkManager.mergeRequestHeaders (/.../agent/main/lib/NetworkManager.ts:421:8)
at NetworkManager.onNetworkRequestWillBeSent (/.../agent/main/lib/NetworkManager.ts:383:10)
at DevtoolsSession.emit (node:events:524:28)
at DevtoolsSession.emit (/.../node_modules/commons/lib/TypedEventEmitter.ts:162:18)
at DevtoolsSession.onMessage (/.../agent/main/lib/DevtoolsSession.ts:117:12)
at Connection.onMessage (/.../agent/main/lib/Connection.ts:87:23)
at process.processImmediate (node:internal/timers:493:21)
Error: /.../node_modules/@ulixee/unblocked-agent/lib/NetworkManager.js:321
.map(x => x[0].toUpperCase() + x.slice(1))
^
TypeError: Cannot read properties of undefined (reading 'toUpperCase')
at /.../agent/main/lib/NetworkManager.ts:421:8
at Array.map (<anonymous>)
at NetworkManager.mergeRequestHeaders (/.../agent/main/lib/NetworkManager.ts:421:8)
at NetworkManager.onNetworkRequestWillBeSent (/.../agent/main/lib/NetworkManager.ts:383:10)
at DevtoolsSession.emit (node:events:524:28)
at DevtoolsSession.emit (/.../node_modules/commons/lib/TypedEventEmitter.ts:162:18)
at DevtoolsSession.onMessage (/.../agent/main/lib/DevtoolsSession.ts:117:12)
at Connection.onMessage (/.../agent/main/lib/Connection.ts:87:23)
at process.processImmediate (node:internal/timers:493:21)
The text was updated successfully, but these errors were encountered:
Changing line 317 in @ulixee/unblocked-agent/lib/NetworkManager from
.map(x => x[0].toUpperCase() + x.slice(1))
to
.map(x => { if(typeof x[0] !== 'undefined') return x[0].toUpperCase() + x.slice(1)} )
fixes the problem for me.
The text was updated successfully, but these errors were encountered: