frappe/logs/node-socketio.log

18043 lines
764 KiB
Text
Raw Permalink Normal View History

Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-aasfjhqmab not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"76ff71547820940b63aa0a407f857dca5dfd9fa3535e43d8a6d26dd1\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4b56a0a29e4aca9333ebdc8ca52e160785ecb40f348c8d0075260f55&doctype=Purchase%20Invoice&docname=new-purchase-invoice-aasfjhqmab',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4b56a0a29e4aca9333ebdc8ca52e160785ecb40f348c8d0075260f55&doctype=Purchase%20Invoice&docname=new-purchase-invoice-aasfjhqmab HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4b56a0a29e4aca9333ebdc8ca52e160785ecb40f348c8d0075260f55&doctype=Purchase%20Invoice&docname=new-purchase-invoice-aasfjhqmab',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-aasfjhqmab not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"76ff71547820940b63aa0a407f857dca5dfd9fa3535e43d8a6d26dd1\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 00:47:35 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 00:47:35 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4b56a0a29e4aca9333ebdc8ca52e160785ecb40f348c8d0075260f55&doctype=Purchase%20Invoice&docname=new-purchase-invoice-aasfjhqmab (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-aasfjhqmab not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"76ff71547820940b63aa0a407f857dca5dfd9fa3535e43d8a6d26dd1\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4b56a0a29e4aca9333ebdc8ca52e160785ecb40f348c8d0075260f55&doctype=Purchase%20Invoice&docname=new-purchase-invoice-aasfjhqmab'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-aasfjhqmab not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"76ff71547820940b63aa0a407f857dca5dfd9fa3535e43d8a6d26dd1\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hbacugnark not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9439d95ad57ae0b249a2b9fa478f17b1296c99a53b2ea069cd552ef8\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hbacugnark',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hbacugnark HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hbacugnark',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hbacugnark not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9439d95ad57ae0b249a2b9fa478f17b1296c99a53b2ea069cd552ef8\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:00:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:00:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hbacugnark (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hbacugnark not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9439d95ad57ae0b249a2b9fa478f17b1296c99a53b2ea069cd552ef8\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hbacugnark'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-hbacugnark not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"9439d95ad57ae0b249a2b9fa478f17b1296c99a53b2ea069cd552ef8\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hfqxhjugkf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"316ab9c23e80435070a93b905cc7e001ba4ad0db727d1d1fca7488b1\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hfqxhjugkf',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hfqxhjugkf HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hfqxhjugkf',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hfqxhjugkf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"316ab9c23e80435070a93b905cc7e001ba4ad0db727d1d1fca7488b1\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:00:57 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:00:57 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hfqxhjugkf (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-hfqxhjugkf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"316ab9c23e80435070a93b905cc7e001ba4ad0db727d1d1fca7488b1\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-hfqxhjugkf'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-hfqxhjugkf not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"316ab9c23e80435070a93b905cc7e001ba4ad0db727d1d1fca7488b1\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ghnhrwnhgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8659c11e750c3ad96f95212ccade661ab97a197e9ac0c52261dbc4ac\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ghnhrwnhgc',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ghnhrwnhgc HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ghnhrwnhgc',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ghnhrwnhgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8659c11e750c3ad96f95212ccade661ab97a197e9ac0c52261dbc4ac\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:01:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:01:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ghnhrwnhgc (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ghnhrwnhgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8659c11e750c3ad96f95212ccade661ab97a197e9ac0c52261dbc4ac\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ghnhrwnhgc'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-ghnhrwnhgc not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"8659c11e750c3ad96f95212ccade661ab97a197e9ac0c52261dbc4ac\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ptmpbnbins not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"12a0f539c62f3031614f241df8c914a8645c4d1317dd5c588557ce1e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ptmpbnbins',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ptmpbnbins HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ptmpbnbins',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ptmpbnbins not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"12a0f539c62f3031614f241df8c914a8645c4d1317dd5c588557ce1e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:02:05 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:02:05 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ptmpbnbins (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ptmpbnbins not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"12a0f539c62f3031614f241df8c914a8645c4d1317dd5c588557ce1e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=Bank%20Account&docname=new-bank-account-ptmpbnbins'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-ptmpbnbins not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"12a0f539c62f3031614f241df8c914a8645c4d1317dd5c588557ce1e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"User new-user-qvjraxnfcz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"719f9049681731ba310159c6509714254c7915c3d828cd774b48429a\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=User&docname=new-user-qvjraxnfcz',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=User&docname=new-user-qvjraxnfcz HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=User&docname=new-user-qvjraxnfcz',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"User new-user-qvjraxnfcz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"719f9049681731ba310159c6509714254c7915c3d828cd774b48429a\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:38:58 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:38:58 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=User&docname=new-user-qvjraxnfcz (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"User new-user-qvjraxnfcz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"719f9049681731ba310159c6509714254c7915c3d828cd774b48429a\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=6ab4cba7b232c9881c54dfc30528107b2b5e436040862cf70e04e317&doctype=User&docname=new-user-qvjraxnfcz'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"User new-user-qvjraxnfcz not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"719f9049681731ba310159c6509714254c7915c3d828cd774b48429a\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Email Account new-email-account-aasjfjcijh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f5f6bae20b382506f6b4f58af7aab106769a786ba0827ec8e8ee1f06\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=c520bb6da0afe9e8c3ef6c7e1c0f3455708ae87bef88e02f665dafd3&doctype=Email%20Account&docname=new-email-account-aasjfjcijh',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=c520bb6da0afe9e8c3ef6c7e1c0f3455708ae87bef88e02f665dafd3&doctype=Email%20Account&docname=new-email-account-aasjfjcijh HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=c520bb6da0afe9e8c3ef6c7e1c0f3455708ae87bef88e02f665dafd3&doctype=Email%20Account&docname=new-email-account-aasjfjcijh',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Email Account new-email-account-aasjfjcijh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f5f6bae20b382506f6b4f58af7aab106769a786ba0827ec8e8ee1f06\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:46:26 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 15:46:26 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=c520bb6da0afe9e8c3ef6c7e1c0f3455708ae87bef88e02f665dafd3&doctype=Email%20Account&docname=new-email-account-aasjfjcijh (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Email Account new-email-account-aasjfjcijh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f5f6bae20b382506f6b4f58af7aab106769a786ba0827ec8e8ee1f06\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=c520bb6da0afe9e8c3ef6c7e1c0f3455708ae87bef88e02f665dafd3&doctype=Email%20Account&docname=new-email-account-aasjfjcijh'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Email Account new-email-account-aasjfjcijh not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"f5f6bae20b382506f6b4f58af7aab106769a786ba0827ec8e8ee1f06\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-ymkffeojsn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bcd08370e42e676b37d25bdc3b69157b53324249c9e266fd063fb75\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-ymkffeojsn',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-ymkffeojsn HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-ymkffeojsn',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-ymkffeojsn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bcd08370e42e676b37d25bdc3b69157b53324249c9e266fd063fb75\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 22:56:32 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 22:56:32 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-ymkffeojsn (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-ymkffeojsn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bcd08370e42e676b37d25bdc3b69157b53324249c9e266fd063fb75\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-ymkffeojsn'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Wiki Page new-wiki-page-ymkffeojsn not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"1bcd08370e42e676b37d25bdc3b69157b53324249c9e266fd063fb75\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-paojgsbjam not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c8114c5358095f34d2abfb4b5d46b262974c007acb5b93dec0000d28\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-paojgsbjam',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-paojgsbjam HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-paojgsbjam',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-paojgsbjam not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c8114c5358095f34d2abfb4b5d46b262974c007acb5b93dec0000d28\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 22:57:23 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 22:57:23 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-paojgsbjam (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-paojgsbjam not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c8114c5358095f34d2abfb4b5d46b262974c007acb5b93dec0000d28\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-paojgsbjam'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Wiki Page new-wiki-page-paojgsbjam not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"c8114c5358095f34d2abfb4b5d46b262974c007acb5b93dec0000d28\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-fdchoeqoph not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e569d310eb94862338a5ff4bfc166a97fa26ce668a2a301684f9f6ad\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-fdchoeqoph',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-fdchoeqoph HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-fdchoeqoph',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-fdchoeqoph not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e569d310eb94862338a5ff4bfc166a97fa26ce668a2a301684f9f6ad\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 23:01:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 05 Jun 2025 23:01:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-fdchoeqoph (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Wiki Page new-wiki-page-fdchoeqoph not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e569d310eb94862338a5ff4bfc166a97fa26ce668a2a301684f9f6ad\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Wiki%20Page&docname=new-wiki-page-fdchoeqoph'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Wiki Page new-wiki-page-fdchoeqoph not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"e569d310eb94862338a5ff4bfc166a97fa26ce668a2a301684f9f6ad\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-jkkndswanv not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b5403d1070ce3173a791056f991b9f9091b785b3af8117312575afaf\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-jkkndswanv',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-jkkndswanv HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-jkkndswanv',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-jkkndswanv not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b5403d1070ce3173a791056f991b9f9091b785b3af8117312575afaf\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 13 Jun 2025 17:15:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 13 Jun 2025 17:15:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-jkkndswanv (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-jkkndswanv not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b5403d1070ce3173a791056f991b9f9091b785b3af8117312575afaf\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-jkkndswanv'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Print Format new-print-format-jkkndswanv not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b5403d1070ce3173a791056f991b9f9091b785b3af8117312575afaf\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-rvjzwltjxz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbb89ad98ec546fa75c954ecd069d265a50267d08d8254b8e03e615e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-rvjzwltjxz',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-rvjzwltjxz HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-rvjzwltjxz',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-rvjzwltjxz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbb89ad98ec546fa75c954ecd069d265a50267d08d8254b8e03e615e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 13 Jun 2025 19:11:17 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 13 Jun 2025 19:11:17 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-rvjzwltjxz (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Print Format new-print-format-rvjzwltjxz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbb89ad98ec546fa75c954ecd069d265a50267d08d8254b8e03e615e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4975ee136c2dc4d5fc42517d10f1dbea2cef8dc4e5c4370fa0ead914&doctype=Print%20Format&docname=new-print-format-rvjzwltjxz'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Print Format new-print-format-rvjzwltjxz not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"bbb89ad98ec546fa75c954ecd069d265a50267d08d8254b8e03e615e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-qdhbdalbqd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b45de2b2743120185ce21d726a336a6ba9125c68b58e04f6a942a307\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-qdhbdalbqd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-qdhbdalbqd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-qdhbdalbqd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-qdhbdalbqd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b45de2b2743120185ce21d726a336a6ba9125c68b58e04f6a942a307\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 16:49:15 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 16:49:15 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-qdhbdalbqd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-qdhbdalbqd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b45de2b2743120185ce21d726a336a6ba9125c68b58e04f6a942a307\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-qdhbdalbqd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Account new-account-qdhbdalbqd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b45de2b2743120185ce21d726a336a6ba9125c68b58e04f6a942a307\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hgwiyhywaj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab7fc284d52555a74a8bd522d2a05a7ef97529522b22654c017d211e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Payment%20Entry&docname=new-payment-entry-hgwiyhywaj',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Payment%20Entry&docname=new-payment-entry-hgwiyhywaj HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Payment%20Entry&docname=new-payment-entry-hgwiyhywaj',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hgwiyhywaj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab7fc284d52555a74a8bd522d2a05a7ef97529522b22654c017d211e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:35:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:35:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Payment%20Entry&docname=new-payment-entry-hgwiyhywaj (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hgwiyhywaj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab7fc284d52555a74a8bd522d2a05a7ef97529522b22654c017d211e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Payment%20Entry&docname=new-payment-entry-hgwiyhywaj'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-hgwiyhywaj not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ab7fc284d52555a74a8bd522d2a05a7ef97529522b22654c017d211e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ddyucelgdb not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c5616d0250fe168dd4a1a95f0c4208d1334c4ce3099a10e1624a46b3\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-ddyucelgdb',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-ddyucelgdb HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-ddyucelgdb',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ddyucelgdb not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c5616d0250fe168dd4a1a95f0c4208d1334c4ce3099a10e1624a46b3\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:36:59 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:36:59 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-ddyucelgdb (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-ddyucelgdb not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c5616d0250fe168dd4a1a95f0c4208d1334c4ce3099a10e1624a46b3\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-ddyucelgdb'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-ddyucelgdb not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"c5616d0250fe168dd4a1a95f0c4208d1334c4ce3099a10e1624a46b3\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-djfroqhytd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"72ecd16f100be467d150812cdf4590543e4d36ec8d648e228f683d12\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-djfroqhytd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-djfroqhytd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-djfroqhytd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-djfroqhytd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"72ecd16f100be467d150812cdf4590543e4d36ec8d648e228f683d12\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:41:25 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:41:25 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-djfroqhytd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-djfroqhytd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"72ecd16f100be467d150812cdf4590543e4d36ec8d648e228f683d12\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-djfroqhytd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-djfroqhytd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"72ecd16f100be467d150812cdf4590543e4d36ec8d648e228f683d12\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-dfttuilnmy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"048b6c78e6bbb5dfc8f550cf7d616cff2a520771baf0b0ea113e4536\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-dfttuilnmy',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-dfttuilnmy HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-dfttuilnmy',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-dfttuilnmy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"048b6c78e6bbb5dfc8f550cf7d616cff2a520771baf0b0ea113e4536\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:42:33 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:42:33 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-dfttuilnmy (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Account new-account-dfttuilnmy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"048b6c78e6bbb5dfc8f550cf7d616cff2a520771baf0b0ea113e4536\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Account&docname=new-account-dfttuilnmy'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Account new-account-dfttuilnmy not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"048b6c78e6bbb5dfc8f550cf7d616cff2a520771baf0b0ea113e4536\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-uakohhvgkr not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"346c2b4096d7c6b1d42c44a24fb7e6faa5fbee0a19a4187284fcf5e6\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-uakohhvgkr',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-uakohhvgkr HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-uakohhvgkr',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-uakohhvgkr not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"346c2b4096d7c6b1d42c44a24fb7e6faa5fbee0a19a4187284fcf5e6\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:45:41 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:45:41 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-uakohhvgkr (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank Account new-bank-account-uakohhvgkr not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"346c2b4096d7c6b1d42c44a24fb7e6faa5fbee0a19a4187284fcf5e6\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Bank%20Account&docname=new-bank-account-uakohhvgkr'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank Account new-bank-account-uakohhvgkr not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"346c2b4096d7c6b1d42c44a24fb7e6faa5fbee0a19a4187284fcf5e6\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tbshgrsyot not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b8839434fc4586dd2fa1ebfffa81ab85c78230e5fe0be8204edebc0c\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tbshgrsyot',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tbshgrsyot HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tbshgrsyot',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tbshgrsyot not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b8839434fc4586dd2fa1ebfffa81ab85c78230e5fe0be8204edebc0c\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:54:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 24 Jun 2025 17:54:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tbshgrsyot (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tbshgrsyot not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b8839434fc4586dd2fa1ebfffa81ab85c78230e5fe0be8204edebc0c\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tbshgrsyot'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-tbshgrsyot not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b8839434fc4586dd2fa1ebfffa81ab85c78230e5fe0be8204edebc0c\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-xtupgyzwus not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"700de267982f5a0e871be7f051d724463e39cefd907004b2c6c8a873\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Supplier&docname=new-supplier-xtupgyzwus',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Supplier&docname=new-supplier-xtupgyzwus HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Supplier&docname=new-supplier-xtupgyzwus',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-xtupgyzwus not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"700de267982f5a0e871be7f051d724463e39cefd907004b2c6c8a873\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 15:19:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 15:19:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Supplier&docname=new-supplier-xtupgyzwus (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-xtupgyzwus not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"700de267982f5a0e871be7f051d724463e39cefd907004b2c6c8a873\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Supplier&docname=new-supplier-xtupgyzwus'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Supplier new-supplier-xtupgyzwus not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"700de267982f5a0e871be7f051d724463e39cefd907004b2c6c8a873\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dlxtnxyrex not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4d4789ee38b85123f8572f48c3f4213432dd56ce8f178711fe18e183\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dlxtnxyrex',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dlxtnxyrex HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dlxtnxyrex',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dlxtnxyrex not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4d4789ee38b85123f8572f48c3f4213432dd56ce8f178711fe18e183\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 17:14:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 17:14:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dlxtnxyrex (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dlxtnxyrex not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4d4789ee38b85123f8572f48c3f4213432dd56ce8f178711fe18e183\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dlxtnxyrex'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-dlxtnxyrex not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"4d4789ee38b85123f8572f48c3f4213432dd56ce8f178711fe18e183\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-hlhpjyggmw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"01ad395cba729e1adf77f23a1f1d3fcd0c6904fcd73fb5c090d94124\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-hlhpjyggmw',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-hlhpjyggmw HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-hlhpjyggmw',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-hlhpjyggmw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"01ad395cba729e1adf77f23a1f1d3fcd0c6904fcd73fb5c090d94124\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 21:05:07 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 25 Jun 2025 21:05:07 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-hlhpjyggmw (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-hlhpjyggmw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"01ad395cba729e1adf77f23a1f1d3fcd0c6904fcd73fb5c090d94124\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-hlhpjyggmw'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-hlhpjyggmw not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"01ad395cba729e1adf77f23a1f1d3fcd0c6904fcd73fb5c090d94124\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gutxllmdvp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f2f38fe5d695d6a6b18041ee1ab4082058a44cb89a6aad511d34b307\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gutxllmdvp',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gutxllmdvp HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gutxllmdvp',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gutxllmdvp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f2f38fe5d695d6a6b18041ee1ab4082058a44cb89a6aad511d34b307\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 26 Jun 2025 14:37:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 26 Jun 2025 14:37:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gutxllmdvp (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gutxllmdvp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"f2f38fe5d695d6a6b18041ee1ab4082058a44cb89a6aad511d34b307\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gutxllmdvp'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-gutxllmdvp not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"f2f38fe5d695d6a6b18041ee1ab4082058a44cb89a6aad511d34b307\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-shahzxwxes not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"45f921b3b4357eb3e7a89e9aa63ffb91b22d9eca5c31db8ed851c2d4\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-shahzxwxes',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-shahzxwxes HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-shahzxwxes',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-shahzxwxes not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"45f921b3b4357eb3e7a89e9aa63ffb91b22d9eca5c31db8ed851c2d4\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 26 Jun 2025 14:57:31 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 26 Jun 2025 14:57:31 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-shahzxwxes (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-shahzxwxes not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"45f921b3b4357eb3e7a89e9aa63ffb91b22d9eca5c31db8ed851c2d4\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b248ee59d6f0f53972b43951ac22af5c0c62470b82188f5a1130714e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-shahzxwxes'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-shahzxwxes not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"45f921b3b4357eb3e7a89e9aa63ffb91b22d9eca5c31db8ed851c2d4\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wdzosfawga not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6081b2ec921cf49e6bee04acf5c3276a233bff88059f8ab4314e58fa\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=4fcde56fe4b842929d173fad0f9b373a7e87bf8de7e12421d5779a45&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wdzosfawga',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=4fcde56fe4b842929d173fad0f9b373a7e87bf8de7e12421d5779a45&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wdzosfawga HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4fcde56fe4b842929d173fad0f9b373a7e87bf8de7e12421d5779a45&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wdzosfawga',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wdzosfawga not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6081b2ec921cf49e6bee04acf5c3276a233bff88059f8ab4314e58fa\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 27 Jun 2025 19:08:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 27 Jun 2025 19:08:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=4fcde56fe4b842929d173fad0f9b373a7e87bf8de7e12421d5779a45&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wdzosfawga (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wdzosfawga not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6081b2ec921cf49e6bee04acf5c3276a233bff88059f8ab4314e58fa\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=4fcde56fe4b842929d173fad0f9b373a7e87bf8de7e12421d5779a45&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wdzosfawga'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-wdzosfawga not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"6081b2ec921cf49e6bee04acf5c3276a233bff88059f8ab4314e58fa\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank new-bank-kpsexardzi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"83dd40fbb0a88152b60fb10f66e3518a35853fad436883fd5c781e6e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Bank&docname=new-bank-kpsexardzi',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Bank&docname=new-bank-kpsexardzi HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Bank&docname=new-bank-kpsexardzi',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank new-bank-kpsexardzi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"83dd40fbb0a88152b60fb10f66e3518a35853fad436883fd5c781e6e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:03:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:03:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Bank&docname=new-bank-kpsexardzi (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Bank new-bank-kpsexardzi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"83dd40fbb0a88152b60fb10f66e3518a35853fad436883fd5c781e6e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Bank&docname=new-bank-kpsexardzi'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Bank new-bank-kpsexardzi not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"83dd40fbb0a88152b60fb10f66e3518a35853fad436883fd5c781e6e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dptvpdnvnm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d136d5d9a248000f8466dfc9902ce834f4099b4b8f54ab669dae4e26\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dptvpdnvnm',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dptvpdnvnm HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dptvpdnvnm',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dptvpdnvnm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d136d5d9a248000f8466dfc9902ce834f4099b4b8f54ab669dae4e26\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:05:30 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:05:30 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dptvpdnvnm (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dptvpdnvnm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d136d5d9a248000f8466dfc9902ce834f4099b4b8f54ab669dae4e26\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dptvpdnvnm'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-dptvpdnvnm not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"d136d5d9a248000f8466dfc9902ce834f4099b4b8f54ab669dae4e26\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-dqjsnabbza not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3dd296edfac8cc46e36b35bab1f21291d7d00c08bbffbbc76bcb262b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-dqjsnabbza',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-dqjsnabbza HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-dqjsnabbza',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-dqjsnabbza not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3dd296edfac8cc46e36b35bab1f21291d7d00c08bbffbbc76bcb262b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:13:23 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 16:13:23 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-dqjsnabbza (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-dqjsnabbza not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3dd296edfac8cc46e36b35bab1f21291d7d00c08bbffbbc76bcb262b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-dqjsnabbza'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-dqjsnabbza not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"3dd296edfac8cc46e36b35bab1f21291d7d00c08bbffbbc76bcb262b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xqhcablmut not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1672646d2e68892e915ce70701c013bacb6bdcd1ea2329329ab0d937\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xqhcablmut',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xqhcablmut HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xqhcablmut',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xqhcablmut not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1672646d2e68892e915ce70701c013bacb6bdcd1ea2329329ab0d937\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 22:08:24 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 30 Jun 2025 22:08:24 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xqhcablmut (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xqhcablmut not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1672646d2e68892e915ce70701c013bacb6bdcd1ea2329329ab0d937\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xqhcablmut'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-xqhcablmut not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"1672646d2e68892e915ce70701c013bacb6bdcd1ea2329329ab0d937\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rowosnmqap not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d0c4525eb75498f62839279acd534c6d8b6f0cb825b348b923c82bf\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rowosnmqap',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rowosnmqap HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rowosnmqap',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rowosnmqap not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d0c4525eb75498f62839279acd534c6d8b6f0cb825b348b923c82bf\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 00:11:40 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 00:11:40 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rowosnmqap (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rowosnmqap not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d0c4525eb75498f62839279acd534c6d8b6f0cb825b348b923c82bf\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rowosnmqap'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-rowosnmqap not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"6d0c4525eb75498f62839279acd534c6d8b6f0cb825b348b923c82bf\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-kozatxzylq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"0b473699b93464149749aa84c609476c83ddde0cda1f000fd631dffc\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b79dfcf1e2891c67753ef580206861f8e9b51a78b1fc67ffef5bf32f&doctype=Purchase%20Invoice&docname=new-purchase-invoice-kozatxzylq',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b79dfcf1e2891c67753ef580206861f8e9b51a78b1fc67ffef5bf32f&doctype=Purchase%20Invoice&docname=new-purchase-invoice-kozatxzylq HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b79dfcf1e2891c67753ef580206861f8e9b51a78b1fc67ffef5bf32f&doctype=Purchase%20Invoice&docname=new-purchase-invoice-kozatxzylq',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-kozatxzylq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"0b473699b93464149749aa84c609476c83ddde0cda1f000fd631dffc\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 13:23:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 13:23:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b79dfcf1e2891c67753ef580206861f8e9b51a78b1fc67ffef5bf32f&doctype=Purchase%20Invoice&docname=new-purchase-invoice-kozatxzylq (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-kozatxzylq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"0b473699b93464149749aa84c609476c83ddde0cda1f000fd631dffc\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b79dfcf1e2891c67753ef580206861f8e9b51a78b1fc67ffef5bf32f&doctype=Purchase%20Invoice&docname=new-purchase-invoice-kozatxzylq'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-kozatxzylq not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"0b473699b93464149749aa84c609476c83ddde0cda1f000fd631dffc\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-blsktinnsc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bb3d42e7c97cd3656f8ae5c7b40651bf95fb2670e8bf85bd505b711b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-blsktinnsc',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-blsktinnsc HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-blsktinnsc',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-blsktinnsc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bb3d42e7c97cd3656f8ae5c7b40651bf95fb2670e8bf85bd505b711b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:32:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:32:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-blsktinnsc (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-blsktinnsc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bb3d42e7c97cd3656f8ae5c7b40651bf95fb2670e8bf85bd505b711b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-blsktinnsc'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-blsktinnsc not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"bb3d42e7c97cd3656f8ae5c7b40651bf95fb2670e8bf85bd505b711b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bishpczeay not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d18cb6ab9fdd9fe68a39772f3c598401ab6bbab4cee76d3e60a8ca32\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bishpczeay',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bishpczeay HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bishpczeay',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bishpczeay not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d18cb6ab9fdd9fe68a39772f3c598401ab6bbab4cee76d3e60a8ca32\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:36:00 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:36:00 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bishpczeay (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bishpczeay not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d18cb6ab9fdd9fe68a39772f3c598401ab6bbab4cee76d3e60a8ca32\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bishpczeay'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-bishpczeay not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"d18cb6ab9fdd9fe68a39772f3c598401ab6bbab4cee76d3e60a8ca32\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zbwmybrsoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ea9e7e4e813fdb75413948913efd0786b0c915de8b7207c613cc6196\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zbwmybrsoy',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zbwmybrsoy HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zbwmybrsoy',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zbwmybrsoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ea9e7e4e813fdb75413948913efd0786b0c915de8b7207c613cc6196\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:38:19 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:38:19 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zbwmybrsoy (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zbwmybrsoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ea9e7e4e813fdb75413948913efd0786b0c915de8b7207c613cc6196\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zbwmybrsoy'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-zbwmybrsoy not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ea9e7e4e813fdb75413948913efd0786b0c915de8b7207c613cc6196\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dtkgrbebav not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"be0bb72c27feba461fa651723917486f69b6f6d3abc878711a5c7e48\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dtkgrbebav',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dtkgrbebav HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dtkgrbebav',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dtkgrbebav not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"be0bb72c27feba461fa651723917486f69b6f6d3abc878711a5c7e48\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:40:06 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:40:06 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dtkgrbebav (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dtkgrbebav not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"be0bb72c27feba461fa651723917486f69b6f6d3abc878711a5c7e48\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dtkgrbebav'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-dtkgrbebav not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"be0bb72c27feba461fa651723917486f69b6f6d3abc878711a5c7e48\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rcqdfmyjfu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6788664782d549a817a35c04fd6e6c67548861be68b033abe8531070\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rcqdfmyjfu',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rcqdfmyjfu HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rcqdfmyjfu',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rcqdfmyjfu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6788664782d549a817a35c04fd6e6c67548861be68b033abe8531070\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:42:19 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:42:19 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rcqdfmyjfu (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rcqdfmyjfu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6788664782d549a817a35c04fd6e6c67548861be68b033abe8531070\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rcqdfmyjfu'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-rcqdfmyjfu not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"6788664782d549a817a35c04fd6e6c67548861be68b033abe8531070\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rlvzdybjuz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"744b91bff269d661ed9c7a872f03cc57c73ebdccaa99cddaf1938c6f\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rlvzdybjuz',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rlvzdybjuz HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rlvzdybjuz',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rlvzdybjuz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"744b91bff269d661ed9c7a872f03cc57c73ebdccaa99cddaf1938c6f\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:50:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 21:50:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rlvzdybjuz (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-rlvzdybjuz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"744b91bff269d661ed9c7a872f03cc57c73ebdccaa99cddaf1938c6f\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-rlvzdybjuz'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-rlvzdybjuz not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"744b91bff269d661ed9c7a872f03cc57c73ebdccaa99cddaf1938c6f\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ostxbrmxoe not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b415b88e0bb0fa9cb02184bc5c2894dba11f2897f4726120ab3b9024\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ostxbrmxoe',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ostxbrmxoe HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ostxbrmxoe',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ostxbrmxoe not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b415b88e0bb0fa9cb02184bc5c2894dba11f2897f4726120ab3b9024\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 22:24:42 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 22:24:42 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ostxbrmxoe (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ostxbrmxoe not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b415b88e0bb0fa9cb02184bc5c2894dba11f2897f4726120ab3b9024\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ostxbrmxoe'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-ostxbrmxoe not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b415b88e0bb0fa9cb02184bc5c2894dba11f2897f4726120ab3b9024\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dsdbrdcdtd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"eefabed0a3695415c9f26de4c0fce26bb3ddc8e994ab6d72c905a2c3\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dsdbrdcdtd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dsdbrdcdtd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dsdbrdcdtd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dsdbrdcdtd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"eefabed0a3695415c9f26de4c0fce26bb3ddc8e994ab6d72c905a2c3\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:01:30 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:01:30 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dsdbrdcdtd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-dsdbrdcdtd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"eefabed0a3695415c9f26de4c0fce26bb3ddc8e994ab6d72c905a2c3\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-dsdbrdcdtd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-dsdbrdcdtd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"eefabed0a3695415c9f26de4c0fce26bb3ddc8e994ab6d72c905a2c3\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cwvjxjpgvd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"02e318e00947175ef3cc7fbb31ba29c6673dfc995e45e14968d4f2cf\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cwvjxjpgvd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cwvjxjpgvd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cwvjxjpgvd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cwvjxjpgvd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"02e318e00947175ef3cc7fbb31ba29c6673dfc995e45e14968d4f2cf\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:05:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:05:49 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cwvjxjpgvd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cwvjxjpgvd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"02e318e00947175ef3cc7fbb31ba29c6673dfc995e45e14968d4f2cf\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cwvjxjpgvd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-cwvjxjpgvd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"02e318e00947175ef3cc7fbb31ba29c6673dfc995e45e14968d4f2cf\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-umvxrmpotn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"61d89c7793c06a4a75bb1059d25f84c4f2f9f704f096764c1ce21cbe\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-umvxrmpotn',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-umvxrmpotn HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-umvxrmpotn',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-umvxrmpotn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"61d89c7793c06a4a75bb1059d25f84c4f2f9f704f096764c1ce21cbe\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:31:24 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:31:24 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-umvxrmpotn (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-umvxrmpotn not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"61d89c7793c06a4a75bb1059d25f84c4f2f9f704f096764c1ce21cbe\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-umvxrmpotn'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-umvxrmpotn not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"61d89c7793c06a4a75bb1059d25f84c4f2f9f704f096764c1ce21cbe\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-artjlkdahh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbfe1c5cfdd556a4be30945259c0f798791aa08d29400d6971d11565\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-artjlkdahh',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-artjlkdahh HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-artjlkdahh',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-artjlkdahh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbfe1c5cfdd556a4be30945259c0f798791aa08d29400d6971d11565\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:34:31 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 02 Jul 2025 23:34:31 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-artjlkdahh (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-artjlkdahh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"bbfe1c5cfdd556a4be30945259c0f798791aa08d29400d6971d11565\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-artjlkdahh'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-artjlkdahh not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"bbfe1c5cfdd556a4be30945259c0f798791aa08d29400d6971d11565\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-eirgpdejop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"65d6b3ea5f5cb0205a5b317fa16ab6adfa4d025dc5edaa7eec043e03\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-eirgpdejop',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-eirgpdejop HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-eirgpdejop',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-eirgpdejop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"65d6b3ea5f5cb0205a5b317fa16ab6adfa4d025dc5edaa7eec043e03\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 15:54:36 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 15:54:36 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-eirgpdejop (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-eirgpdejop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"65d6b3ea5f5cb0205a5b317fa16ab6adfa4d025dc5edaa7eec043e03\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-eirgpdejop'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-eirgpdejop not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"65d6b3ea5f5cb0205a5b317fa16ab6adfa4d025dc5edaa7eec043e03\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qqmnkntlum not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ec83a363b2c331c853b01baab480f371bf9e5c0b4ba2845c21e11442\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qqmnkntlum',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qqmnkntlum HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qqmnkntlum',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qqmnkntlum not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ec83a363b2c331c853b01baab480f371bf9e5c0b4ba2845c21e11442\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 15:59:54 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 15:59:54 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qqmnkntlum (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qqmnkntlum not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ec83a363b2c331c853b01baab480f371bf9e5c0b4ba2845c21e11442\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qqmnkntlum'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-qqmnkntlum not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ec83a363b2c331c853b01baab480f371bf9e5c0b4ba2845c21e11442\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zzarcxuokm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2db445cfcc73505600f4b3f011e0b2611db4f5d2015d353a367644db\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zzarcxuokm',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zzarcxuokm HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zzarcxuokm',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zzarcxuokm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2db445cfcc73505600f4b3f011e0b2611db4f5d2015d353a367644db\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 17:47:37 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 17:47:37 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zzarcxuokm (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zzarcxuokm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2db445cfcc73505600f4b3f011e0b2611db4f5d2015d353a367644db\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zzarcxuokm'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-zzarcxuokm not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"2db445cfcc73505600f4b3f011e0b2611db4f5d2015d353a367644db\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pbutwqdjaw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7b3207c22504bf34f24f76a7489d3b7a88d92a90f6c8e1ce1e2f89\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pbutwqdjaw',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pbutwqdjaw HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pbutwqdjaw',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pbutwqdjaw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7b3207c22504bf34f24f76a7489d3b7a88d92a90f6c8e1ce1e2f89\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:47:25 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:47:25 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pbutwqdjaw (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pbutwqdjaw not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7b3207c22504bf34f24f76a7489d3b7a88d92a90f6c8e1ce1e2f89\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pbutwqdjaw'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-pbutwqdjaw not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"8c7b3207c22504bf34f24f76a7489d3b7a88d92a90f6c8e1ce1e2f89\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tumogegvom not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b575c3650023e2e1873533fb9295bfa8f9ffd28b7ef4aabcf2cfacb8\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tumogegvom',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tumogegvom HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tumogegvom',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tumogegvom not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b575c3650023e2e1873533fb9295bfa8f9ffd28b7ef4aabcf2cfacb8\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:52:56 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:52:56 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tumogegvom (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-tumogegvom not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b575c3650023e2e1873533fb9295bfa8f9ffd28b7ef4aabcf2cfacb8\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-tumogegvom'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-tumogegvom not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b575c3650023e2e1873533fb9295bfa8f9ffd28b7ef4aabcf2cfacb8\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xeprloctrc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3880d3c968ad60436e24e3a307c8ec76a2e2b8872d166b2770bd6b70\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xeprloctrc',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xeprloctrc HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xeprloctrc',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xeprloctrc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3880d3c968ad60436e24e3a307c8ec76a2e2b8872d166b2770bd6b70\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:53:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:53:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xeprloctrc (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xeprloctrc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"3880d3c968ad60436e24e3a307c8ec76a2e2b8872d166b2770bd6b70\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xeprloctrc'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-xeprloctrc not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"3880d3c968ad60436e24e3a307c8ec76a2e2b8872d166b2770bd6b70\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-yrbdyayztd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d62e692f964d69618269d886f2cc4b607c9e0dd0f063bc71d8fa8fa5\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-yrbdyayztd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-yrbdyayztd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-yrbdyayztd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-yrbdyayztd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d62e692f964d69618269d886f2cc4b607c9e0dd0f063bc71d8fa8fa5\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:55:33 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:55:33 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-yrbdyayztd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-yrbdyayztd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d62e692f964d69618269d886f2cc4b607c9e0dd0f063bc71d8fa8fa5\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-yrbdyayztd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-yrbdyayztd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"d62e692f964d69618269d886f2cc4b607c9e0dd0f063bc71d8fa8fa5\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-spcvycxjqp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"cc420b15d6412713c67272fc62cd40932ec0b72a32e2f92e639c4181\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-spcvycxjqp',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-spcvycxjqp HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-spcvycxjqp',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-spcvycxjqp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"cc420b15d6412713c67272fc62cd40932ec0b72a32e2f92e639c4181\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:55:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 18:55:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-spcvycxjqp (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-spcvycxjqp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"cc420b15d6412713c67272fc62cd40932ec0b72a32e2f92e639c4181\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-spcvycxjqp'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-spcvycxjqp not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"cc420b15d6412713c67272fc62cd40932ec0b72a32e2f92e639c4181\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xadnwsnubu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"5d94c0e0aa6784f12b349bcf7315427dc379115ce5b133dfe4433635\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xadnwsnubu',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xadnwsnubu HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xadnwsnubu',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xadnwsnubu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"5d94c0e0aa6784f12b349bcf7315427dc379115ce5b133dfe4433635\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:02:27 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:02:27 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xadnwsnubu (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xadnwsnubu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"5d94c0e0aa6784f12b349bcf7315427dc379115ce5b133dfe4433635\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xadnwsnubu'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-xadnwsnubu not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"5d94c0e0aa6784f12b349bcf7315427dc379115ce5b133dfe4433635\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-nxybrjhjni not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4e98ccb2855f277d6165cc0f4a250e58dbf39181373ecf933957fc59\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-nxybrjhjni',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-nxybrjhjni HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-nxybrjhjni',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-nxybrjhjni not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4e98ccb2855f277d6165cc0f4a250e58dbf39181373ecf933957fc59\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:10:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:10:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-nxybrjhjni (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-nxybrjhjni not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"4e98ccb2855f277d6165cc0f4a250e58dbf39181373ecf933957fc59\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-nxybrjhjni'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-nxybrjhjni not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"4e98ccb2855f277d6165cc0f4a250e58dbf39181373ecf933957fc59\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hczsretzgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6141cc0ecca3528f49b37c69691c51baea07498f54859e4db99aa9ce\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-hczsretzgc',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-hczsretzgc HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-hczsretzgc',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hczsretzgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6141cc0ecca3528f49b37c69691c51baea07498f54859e4db99aa9ce\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:12:45 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 03 Jul 2025 19:12:45 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-hczsretzgc (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-hczsretzgc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6141cc0ecca3528f49b37c69691c51baea07498f54859e4db99aa9ce\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-hczsretzgc'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-hczsretzgc not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"6141cc0ecca3528f49b37c69691c51baea07498f54859e4db99aa9ce\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-civzqszgjh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b61c4fdd3d4eb172a10a1dd466b6cd917406d6ec425c51f6ce09faf4\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-civzqszgjh',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-civzqszgjh HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-civzqszgjh',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-civzqszgjh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b61c4fdd3d4eb172a10a1dd466b6cd917406d6ec425c51f6ce09faf4\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 07 Jul 2025 20:24:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 07 Jul 2025 20:24:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-civzqszgjh (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-civzqszgjh not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b61c4fdd3d4eb172a10a1dd466b6cd917406d6ec425c51f6ce09faf4\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-civzqszgjh'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-civzqszgjh not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b61c4fdd3d4eb172a10a1dd466b6cd917406d6ec425c51f6ce09faf4\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bnltsfbpmq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"a8e4d6ad152ca65f6ab3fb9d3dba0c8ec753f28d345697d22cfeb457\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bnltsfbpmq',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bnltsfbpmq HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bnltsfbpmq',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bnltsfbpmq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"a8e4d6ad152ca65f6ab3fb9d3dba0c8ec753f28d345697d22cfeb457\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:08:00 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:08:00 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bnltsfbpmq (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-bnltsfbpmq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"a8e4d6ad152ca65f6ab3fb9d3dba0c8ec753f28d345697d22cfeb457\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-bnltsfbpmq'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-bnltsfbpmq not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"a8e4d6ad152ca65f6ab3fb9d3dba0c8ec753f28d345697d22cfeb457\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-lihqfqzwcd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b19aa827efaf3e6ee3ede23b9117739315ac99c4746e39553c61de4a\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-lihqfqzwcd',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-lihqfqzwcd HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-lihqfqzwcd',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-lihqfqzwcd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b19aa827efaf3e6ee3ede23b9117739315ac99c4746e39553c61de4a\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:11:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:11:01 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-lihqfqzwcd (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-lihqfqzwcd not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b19aa827efaf3e6ee3ede23b9117739315ac99c4746e39553c61de4a\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-lihqfqzwcd'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-lihqfqzwcd not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b19aa827efaf3e6ee3ede23b9117739315ac99c4746e39553c61de4a\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qsnkjacutx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"abc8e9d855e4c90c2cf349392225607b024cb4eab42119c8bd9116e3\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qsnkjacutx',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qsnkjacutx HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qsnkjacutx',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qsnkjacutx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"abc8e9d855e4c90c2cf349392225607b024cb4eab42119c8bd9116e3\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:13:44 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 01:13:44 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qsnkjacutx (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-qsnkjacutx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"abc8e9d855e4c90c2cf349392225607b024cb4eab42119c8bd9116e3\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-qsnkjacutx'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-qsnkjacutx not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"abc8e9d855e4c90c2cf349392225607b024cb4eab42119c8bd9116e3\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-xepbojtvew not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fbaf0e537acd7fac4597cdb8ccd785333f0ebda53a4859183e21a08c\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-xepbojtvew',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-xepbojtvew HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-xepbojtvew',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-xepbojtvew not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fbaf0e537acd7fac4597cdb8ccd785333f0ebda53a4859183e21a08c\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:16:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:16:34 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-xepbojtvew (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-xepbojtvew not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fbaf0e537acd7fac4597cdb8ccd785333f0ebda53a4859183e21a08c\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-xepbojtvew'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Address new-address-xepbojtvew not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"fbaf0e537acd7fac4597cdb8ccd785333f0ebda53a4859183e21a08c\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-mxyadenknq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ddd5e1c079880a0b5dcad7f8dda372a5d428fb9b82b528022dd7a6b2\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-mxyadenknq',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-mxyadenknq HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-mxyadenknq',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-mxyadenknq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ddd5e1c079880a0b5dcad7f8dda372a5d428fb9b82b528022dd7a6b2\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:18:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:18:02 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-mxyadenknq (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-mxyadenknq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ddd5e1c079880a0b5dcad7f8dda372a5d428fb9b82b528022dd7a6b2\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Address&docname=new-address-mxyadenknq'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Address new-address-mxyadenknq not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ddd5e1c079880a0b5dcad7f8dda372a5d428fb9b82b528022dd7a6b2\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-lpjsaolhod not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"86ac6b06b80169405fd2ad482e368dea2bc7c8556cbfab6f40a2f40b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-lpjsaolhod',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-lpjsaolhod HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-lpjsaolhod',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-lpjsaolhod not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"86ac6b06b80169405fd2ad482e368dea2bc7c8556cbfab6f40a2f40b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:32:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:32:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-lpjsaolhod (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-lpjsaolhod not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"86ac6b06b80169405fd2ad482e368dea2bc7c8556cbfab6f40a2f40b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-lpjsaolhod'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Supplier new-supplier-lpjsaolhod not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"86ac6b06b80169405fd2ad482e368dea2bc7c8556cbfab6f40a2f40b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wduehsthop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b1fb683bd0609efe900389026c9d5a28c7f4f692cabff71f3e2fb2fb\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wduehsthop',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wduehsthop HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wduehsthop',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wduehsthop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b1fb683bd0609efe900389026c9d5a28c7f4f692cabff71f3e2fb2fb\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:33:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:33:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wduehsthop (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-wduehsthop not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"b1fb683bd0609efe900389026c9d5a28c7f4f692cabff71f3e2fb2fb\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Purchase%20Invoice&docname=new-purchase-invoice-wduehsthop'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-wduehsthop not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"b1fb683bd0609efe900389026c9d5a28c7f4f692cabff71f3e2fb2fb\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ehhiaoujmi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ebdb38348cfe21595ff05166c49fa1edba6fc798b86c589343afb023\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-ehhiaoujmi',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-ehhiaoujmi HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-ehhiaoujmi',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ehhiaoujmi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ebdb38348cfe21595ff05166c49fa1edba6fc798b86c589343afb023\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:51:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 08 Jul 2025 14:51:04 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-ehhiaoujmi (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ehhiaoujmi not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ebdb38348cfe21595ff05166c49fa1edba6fc798b86c589343afb023\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Payment%20Entry&docname=new-payment-entry-ehhiaoujmi'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-ehhiaoujmi not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ebdb38348cfe21595ff05166c49fa1edba6fc798b86c589343afb023\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-jlvolkfbmj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"984ed868057a507bfec0ec4d2477349cd4ebc8018433d6b3730f0c9f\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-jlvolkfbmj',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-jlvolkfbmj HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-jlvolkfbmj',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-jlvolkfbmj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"984ed868057a507bfec0ec4d2477349cd4ebc8018433d6b3730f0c9f\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Wed, 09 Jul 2025 19:16:46 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Wed, 09 Jul 2025 19:16:46 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-jlvolkfbmj (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-jlvolkfbmj not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"984ed868057a507bfec0ec4d2477349cd4ebc8018433d6b3730f0c9f\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-jlvolkfbmj'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-jlvolkfbmj not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"984ed868057a507bfec0ec4d2477349cd4ebc8018433d6b3730f0c9f\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-tekytxrove not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"53ba91f19d3194bffc047b7a830fc7f8f675160da2d62c49419a10a1\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-tekytxrove',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-tekytxrove HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-tekytxrove',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-tekytxrove not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"53ba91f19d3194bffc047b7a830fc7f8f675160da2d62c49419a10a1\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:54:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:54:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-tekytxrove (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-tekytxrove not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"53ba91f19d3194bffc047b7a830fc7f8f675160da2d62c49419a10a1\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-tekytxrove'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-tekytxrove not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"53ba91f19d3194bffc047b7a830fc7f8f675160da2d62c49419a10a1\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xwtyxserrk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e9772cd96771f8ec9f7b1e591488722e72b9fca66d0efcb17941b4f7\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xwtyxserrk',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xwtyxserrk HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xwtyxserrk',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xwtyxserrk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e9772cd96771f8ec9f7b1e591488722e72b9fca66d0efcb17941b4f7\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:55:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:55:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xwtyxserrk (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-xwtyxserrk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e9772cd96771f8ec9f7b1e591488722e72b9fca66d0efcb17941b4f7\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-xwtyxserrk'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-xwtyxserrk not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"e9772cd96771f8ec9f7b1e591488722e72b9fca66d0efcb17941b4f7\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-csqgvutmaf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"40e7dc1e5a7fb010b84af2f8a988ba9beeb02887e97313a9978d0f10\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-csqgvutmaf',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-csqgvutmaf HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-csqgvutmaf',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-csqgvutmaf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"40e7dc1e5a7fb010b84af2f8a988ba9beeb02887e97313a9978d0f10\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:56:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:56:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-csqgvutmaf (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-csqgvutmaf not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"40e7dc1e5a7fb010b84af2f8a988ba9beeb02887e97313a9978d0f10\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-csqgvutmaf'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-csqgvutmaf not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"40e7dc1e5a7fb010b84af2f8a988ba9beeb02887e97313a9978d0f10\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-birjxnihkg not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d4765fd9374eb9ebd7abfb77abfe11f20cbb7af97ddc18a7cf8dc3a4\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-birjxnihkg',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-birjxnihkg HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-birjxnihkg',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-birjxnihkg not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d4765fd9374eb9ebd7abfb77abfe11f20cbb7af97ddc18a7cf8dc3a4\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:57:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:57:12 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-birjxnihkg (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-birjxnihkg not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d4765fd9374eb9ebd7abfb77abfe11f20cbb7af97ddc18a7cf8dc3a4\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-birjxnihkg'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-birjxnihkg not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"d4765fd9374eb9ebd7abfb77abfe11f20cbb7af97ddc18a7cf8dc3a4\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-llasewpmbk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2c61d2e00c5825dceb086884698952420baf8d0d704e4bcd18e7dabd\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-llasewpmbk',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-llasewpmbk HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-llasewpmbk',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-llasewpmbk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2c61d2e00c5825dceb086884698952420baf8d0d704e4bcd18e7dabd\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:58:53 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 14:58:53 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-llasewpmbk (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-llasewpmbk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"2c61d2e00c5825dceb086884698952420baf8d0d704e4bcd18e7dabd\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Payment%20Entry&docname=new-payment-entry-llasewpmbk'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-llasewpmbk not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"2c61d2e00c5825dceb086884698952420baf8d0d704e4bcd18e7dabd\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zcavwnogzu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ee220302ec6464d2675807c7200dfe5793f895109900fd2250edce8c\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zcavwnogzu',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zcavwnogzu HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zcavwnogzu',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zcavwnogzu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ee220302ec6464d2675807c7200dfe5793f895109900fd2250edce8c\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 15:21:13 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Thu, 10 Jul 2025 15:21:13 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zcavwnogzu (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-zcavwnogzu not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ee220302ec6464d2675807c7200dfe5793f895109900fd2250edce8c\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=269f4376cbdd422d04677ce8f1d79fa6fe3d1ad8f8f7386a51688ed0&doctype=Purchase%20Invoice&docname=new-purchase-invoice-zcavwnogzu'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-zcavwnogzu not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ee220302ec6464d2675807c7200dfe5793f895109900fd2250edce8c\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-jphdjjyxti not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d84036509184c2a6795a9862df6c8e697a139f9cfcc3dce74388853\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-jphdjjyxti',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-jphdjjyxti HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-jphdjjyxti',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-jphdjjyxti not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d84036509184c2a6795a9862df6c8e697a139f9cfcc3dce74388853\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 15:09:59 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 15:09:59 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-jphdjjyxti (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-jphdjjyxti not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"6d84036509184c2a6795a9862df6c8e697a139f9cfcc3dce74388853\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=b19a78fb60263fbd127d58c53b5961ac7f2abf1a5ed82010829e83dd&doctype=Supplier&docname=new-supplier-jphdjjyxti'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Supplier new-supplier-jphdjjyxti not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"6d84036509184c2a6795a9862df6c8e697a139f9cfcc3dce74388853\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gpleepjtfl not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bd26bc8d92319c8a80821ddfa8b3f936b994c98a38775bdcc70c9dc\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=aa42f222046e2b0d0654ad72cb20a477394e56e530bed659a1ea0cc7&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gpleepjtfl',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=aa42f222046e2b0d0654ad72cb20a477394e56e530bed659a1ea0cc7&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gpleepjtfl HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=aa42f222046e2b0d0654ad72cb20a477394e56e530bed659a1ea0cc7&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gpleepjtfl',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gpleepjtfl not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bd26bc8d92319c8a80821ddfa8b3f936b994c98a38775bdcc70c9dc\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 15:22:26 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 15:22:26 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=aa42f222046e2b0d0654ad72cb20a477394e56e530bed659a1ea0cc7&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gpleepjtfl (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gpleepjtfl not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1bd26bc8d92319c8a80821ddfa8b3f936b994c98a38775bdcc70c9dc\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=aa42f222046e2b0d0654ad72cb20a477394e56e530bed659a1ea0cc7&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gpleepjtfl'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-gpleepjtfl not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"1bd26bc8d92319c8a80821ddfa8b3f936b994c98a38775bdcc70c9dc\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-celnttfvcc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fecd86974cc4b6d42de5353c437729d91a4d05dc7343e8a0cc9b02d3\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-celnttfvcc',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-celnttfvcc HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-celnttfvcc',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-celnttfvcc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fecd86974cc4b6d42de5353c437729d91a4d05dc7343e8a0cc9b02d3\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:45:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:45:55 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-celnttfvcc (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-celnttfvcc not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"fecd86974cc4b6d42de5353c437729d91a4d05dc7343e8a0cc9b02d3\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Purchase%20Invoice&docname=new-purchase-invoice-celnttfvcc'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-celnttfvcc not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"fecd86974cc4b6d42de5353c437729d91a4d05dc7343e8a0cc9b02d3\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-vpytlfztez not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e0319a1696b0c589a46a2c7df9ca40c8a085472d9dbce7b6cf3aa73e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Address&docname=new-address-vpytlfztez',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Address&docname=new-address-vpytlfztez HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Address&docname=new-address-vpytlfztez',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-vpytlfztez not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e0319a1696b0c589a46a2c7df9ca40c8a085472d9dbce7b6cf3aa73e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:48:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:48:28 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Address&docname=new-address-vpytlfztez (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-vpytlfztez not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e0319a1696b0c589a46a2c7df9ca40c8a085472d9dbce7b6cf3aa73e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Address&docname=new-address-vpytlfztez'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Address new-address-vpytlfztez not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"e0319a1696b0c589a46a2c7df9ca40c8a085472d9dbce7b6cf3aa73e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-zhlewvqdst not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d8c4ab5af5eb6c4ee74856f37982a04ec3bacc091325a7e9cbd0c1b2\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-zhlewvqdst',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-zhlewvqdst HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-zhlewvqdst',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-zhlewvqdst not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d8c4ab5af5eb6c4ee74856f37982a04ec3bacc091325a7e9cbd0c1b2\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:50:40 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Fri, 11 Jul 2025 17:50:40 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-zhlewvqdst (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-zhlewvqdst not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"d8c4ab5af5eb6c4ee74856f37982a04ec3bacc091325a7e9cbd0c1b2\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-zhlewvqdst'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-zhlewvqdst not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"d8c4ab5af5eb6c4ee74856f37982a04ec3bacc091325a7e9cbd0c1b2\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ixanwomadk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"50323dfd4b7456b61d83d5f0359e08fb416f45978f296eb785ab3b99\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-ixanwomadk',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-ixanwomadk HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-ixanwomadk',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ixanwomadk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"50323dfd4b7456b61d83d5f0359e08fb416f45978f296eb785ab3b99\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Mon, 14 Jul 2025 16:01:51 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Mon, 14 Jul 2025 16:01:51 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-ixanwomadk (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-ixanwomadk not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"50323dfd4b7456b61d83d5f0359e08fb416f45978f296eb785ab3b99\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=525f8ffc06bc15b0758a41b14018c9f7fe82619b3d7c2dc289e8cb5e&doctype=Payment%20Entry&docname=new-payment-entry-ixanwomadk'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-ixanwomadk not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"50323dfd4b7456b61d83d5f0359e08fb416f45978f296eb785ab3b99\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-ffzfgrpaly not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"da519d1532e8464209a7edafd1d22590ac8b3f4b3b352dcb95821c99\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Supplier&docname=new-supplier-ffzfgrpaly',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Supplier&docname=new-supplier-ffzfgrpaly HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Supplier&docname=new-supplier-ffzfgrpaly',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-ffzfgrpaly not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"da519d1532e8464209a7edafd1d22590ac8b3f4b3b352dcb95821c99\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:46:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:46:16 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Supplier&docname=new-supplier-ffzfgrpaly (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Supplier new-supplier-ffzfgrpaly not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"da519d1532e8464209a7edafd1d22590ac8b3f4b3b352dcb95821c99\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Supplier&docname=new-supplier-ffzfgrpaly'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Supplier new-supplier-ffzfgrpaly not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"da519d1532e8464209a7edafd1d22590ac8b3f4b3b352dcb95821c99\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-wcieatxblp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"16f2bdf12e1151aee94cf5fb6795dcfc8599e84cd93846c4803f021b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Address&docname=new-address-wcieatxblp',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Address&docname=new-address-wcieatxblp HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Address&docname=new-address-wcieatxblp',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-wcieatxblp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"16f2bdf12e1151aee94cf5fb6795dcfc8599e84cd93846c4803f021b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:47:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:47:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Address&docname=new-address-wcieatxblp (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Address new-address-wcieatxblp not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"16f2bdf12e1151aee94cf5fb6795dcfc8599e84cd93846c4803f021b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Address&docname=new-address-wcieatxblp'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Address new-address-wcieatxblp not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"16f2bdf12e1151aee94cf5fb6795dcfc8599e84cd93846c4803f021b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-yhjcazhcve not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c31f727345dfa7432cb95c8ece7068d51a2a742c2cffedd0e16db99f\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-yhjcazhcve',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-yhjcazhcve HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-yhjcazhcve',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-yhjcazhcve not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c31f727345dfa7432cb95c8ece7068d51a2a742c2cffedd0e16db99f\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:56:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:56:11 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-yhjcazhcve (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-yhjcazhcve not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c31f727345dfa7432cb95c8ece7068d51a2a742c2cffedd0e16db99f\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-yhjcazhcve'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-yhjcazhcve not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"c31f727345dfa7432cb95c8ece7068d51a2a742c2cffedd0e16db99f\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-mxrxvucrge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1f0650517ec226bdd3cc99b10e056e7eb67a294ec0dc3ffc9ad573d7\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-mxrxvucrge',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-mxrxvucrge HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-mxrxvucrge',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-mxrxvucrge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1f0650517ec226bdd3cc99b10e056e7eb67a294ec0dc3ffc9ad573d7\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:58:03 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 00:58:03 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-mxrxvucrge (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-mxrxvucrge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"1f0650517ec226bdd3cc99b10e056e7eb67a294ec0dc3ffc9ad573d7\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-mxrxvucrge'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-mxrxvucrge not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"1f0650517ec226bdd3cc99b10e056e7eb67a294ec0dc3ffc9ad573d7\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Realtime service listening on: 9000
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ituzxvitwz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e5e5f1290230030c93bb0bfd823997cc8cb5063ceaab48f5c08d6e6a\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ituzxvitwz',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ituzxvitwz HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ituzxvitwz',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ituzxvitwz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e5e5f1290230030c93bb0bfd823997cc8cb5063ceaab48f5c08d6e6a\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:22:45 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:22:45 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ituzxvitwz (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ituzxvitwz not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"e5e5f1290230030c93bb0bfd823997cc8cb5063ceaab48f5c08d6e6a\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ituzxvitwz'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-ituzxvitwz not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"e5e5f1290230030c93bb0bfd823997cc8cb5063ceaab48f5c08d6e6a\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ybmwgmrwaa not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9b622411a11ecdd864d2321999a383f9a202a9c56ef9f05b7e90b192\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ybmwgmrwaa',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ybmwgmrwaa HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ybmwgmrwaa',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ybmwgmrwaa not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9b622411a11ecdd864d2321999a383f9a202a9c56ef9f05b7e90b192\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:27:05 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:27:05 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ybmwgmrwaa (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ybmwgmrwaa not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"9b622411a11ecdd864d2321999a383f9a202a9c56ef9f05b7e90b192\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ybmwgmrwaa'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-ybmwgmrwaa not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"9b622411a11ecdd864d2321999a383f9a202a9c56ef9f05b7e90b192\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pjpfhexkxs not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"239350c18913bdabf7317a7db1987f35f6496f58bbdf8d671ac5bd8b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pjpfhexkxs',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pjpfhexkxs HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pjpfhexkxs',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pjpfhexkxs not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"239350c18913bdabf7317a7db1987f35f6496f58bbdf8d671ac5bd8b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:28:56 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:28:56 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pjpfhexkxs (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-pjpfhexkxs not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"239350c18913bdabf7317a7db1987f35f6496f58bbdf8d671ac5bd8b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-pjpfhexkxs'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-pjpfhexkxs not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"239350c18913bdabf7317a7db1987f35f6496f58bbdf8d671ac5bd8b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ywltxcovfx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c58e04f9b39efb509befd424a0b37210f7e40ca88cf3cb9fccf4af3e\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ywltxcovfx',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ywltxcovfx HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ywltxcovfx',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ywltxcovfx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c58e04f9b39efb509befd424a0b37210f7e40ca88cf3cb9fccf4af3e\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:30:43 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:30:43 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ywltxcovfx (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-ywltxcovfx not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"c58e04f9b39efb509befd424a0b37210f7e40ca88cf3cb9fccf4af3e\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-ywltxcovfx'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-ywltxcovfx not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"c58e04f9b39efb509befd424a0b37210f7e40ca88cf3cb9fccf4af3e\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-vyygudysoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8f7f413a985a10986c763aea63ba0a0a9db79cb3b53c72b219446a48\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-vyygudysoy',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-vyygudysoy HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-vyygudysoy',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-vyygudysoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8f7f413a985a10986c763aea63ba0a0a9db79cb3b53c72b219446a48\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:33:32 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:33:32 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-vyygudysoy (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-vyygudysoy not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8f7f413a985a10986c763aea63ba0a0a9db79cb3b53c72b219446a48\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-vyygudysoy'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-vyygudysoy not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"8f7f413a985a10986c763aea63ba0a0a9db79cb3b53c72b219446a48\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gmyabsjnjm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab329ee72682f7f701fef16e5bededfe3edc8e7d6c8e69d66aa30ff7\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gmyabsjnjm',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gmyabsjnjm HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gmyabsjnjm',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gmyabsjnjm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab329ee72682f7f701fef16e5bededfe3edc8e7d6c8e69d66aa30ff7\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:35:53 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:35:53 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gmyabsjnjm (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-gmyabsjnjm not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"ab329ee72682f7f701fef16e5bededfe3edc8e7d6c8e69d66aa30ff7\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-gmyabsjnjm'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-gmyabsjnjm not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"ab329ee72682f7f701fef16e5bededfe3edc8e7d6c8e69d66aa30ff7\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-gxddemlxrq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7c4707944f26402099c1be1c295d5154d96a768ead9ebc59c7ff3b\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Payment%20Entry&docname=new-payment-entry-gxddemlxrq',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Payment%20Entry&docname=new-payment-entry-gxddemlxrq HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Payment%20Entry&docname=new-payment-entry-gxddemlxrq',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-gxddemlxrq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7c4707944f26402099c1be1c295d5154d96a768ead9ebc59c7ff3b\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:37:46 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:37:46 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Payment%20Entry&docname=new-payment-entry-gxddemlxrq (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Payment Entry new-payment-entry-gxddemlxrq not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"8c7c4707944f26402099c1be1c295d5154d96a768ead9ebc59c7ff3b\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Payment%20Entry&docname=new-payment-entry-gxddemlxrq'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Payment Entry new-payment-entry-gxddemlxrq not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"8c7c4707944f26402099c1be1c295d5154d96a768ead9ebc59c7ff3b\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}
Error: Not Found
at Request.callback (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:845:17)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:18
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
status: 404,
response: <ref *1> Response {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 404,
statusMessage: 'NOT FOUND',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [ClientRequest],
setEncoding: [Function (anonymous)],
on: [Function (anonymous)],
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cobuuwxqge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"339d01729b1b18e8384f67c46dad3d7b143e4df256ad685d5e97e528\\\\\\"}\\"]"}',
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 24,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
request: Request {
_events: [Object: null prototype] {},
_eventsCount: 0,
_maxListeners: undefined,
_enableHttp2: false,
_agent: false,
_formData: null,
method: 'GET',
url: 'https://accounting.seahaven.com/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cobuuwxqge',
_header: [Object],
header: [Object],
writable: true,
_redirects: 0,
_maxRedirects: 5,
cookies: '',
qs: {},
_query: [],
qsRaw: [],
_redirectList: [],
_streamRequest: false,
_lookup: undefined,
req: [ClientRequest],
protocol: 'https:',
host: 'accounting.seahaven.com',
_endCalled: true,
_callback: [Function (anonymous)],
res: [IncomingMessage],
_resBuffered: true,
response: [Circular *1],
called: true,
[Symbol(kCapture)]: false
},
req: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cobuuwxqge HTTP/1.1\r\n' +
'Host: accounting.seahaven.com\r\n' +
'Accept-Encoding: gzip, deflate\r\n' +
'Content-Type: application/x-www-form-urlencoded\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cobuuwxqge',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'accounting.seahaven.com',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cobuuwxqge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"339d01729b1b18e8384f67c46dad3d7b143e4df256ad685d5e97e528\\\\\\"}\\"]"}',
files: undefined,
buffered: true,
headers: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:38:54 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
header: {
server: 'nginx',
date: 'Tue, 15 Jul 2025 22:38:54 GMT',
'content-type': 'application/json',
'transfer-encoding': 'chunked',
connection: 'close',
vary: 'Accept-Encoding',
'set-cookie': [Array],
'content-encoding': 'gzip'
},
statusCode: 404,
status: 404,
statusType: 4,
info: false,
ok: false,
redirect: false,
clientError: true,
serverError: false,
error: Error: cannot GET /api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cobuuwxqge (404)
at Response.toError (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:107:17)
at ResponseBase._setStatusProperties (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/response-base.js:107:48)
at new Response (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/response.js:44:8)
at Request._emitResponse (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:891:20)
at /home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/index.js:1070:38
at IncomingMessage.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/parsers/json.js:21:7)
at Stream.emit (node:events:517:28)
at Unzip.<anonymous> (/home/pilot/frappe-bench/apps/frappe/node_modules/superagent/lib/node/unzip.js:54:12)
at Unzip.emit (node:events:517:28)
at endReadableNT (node:internal/streams/readable:1400:12) {
status: 404,
text: '{"exc_type":"DoesNotExistError","_server_messages":"[\\"{\\\\\\"message\\\\\\": \\\\\\"Purchase Invoice new-purchase-invoice-cobuuwxqge not found\\\\\\", \\\\\\"title\\\\\\": \\\\\\"Message\\\\\\", \\\\\\"indicator\\\\\\": \\\\\\"red\\\\\\", \\\\\\"raise_exception\\\\\\": 1, \\\\\\"__frappe_exc_id\\\\\\": \\\\\\"339d01729b1b18e8384f67c46dad3d7b143e4df256ad685d5e97e528\\\\\\"}\\"]"}',
method: 'GET',
path: '/api/method/frappe.realtime.can_subscribe_doc?sid=597f520dc530ea436850573b589092ea08b9c7354f56c20db24d5d00&doctype=Purchase%20Invoice&docname=new-purchase-invoice-cobuuwxqge'
},
created: false,
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: true,
unprocessableEntity: false,
type: 'application/json',
links: {},
setEncoding: [Function: bound ],
redirects: [],
_body: {
exc_type: 'DoesNotExistError',
_server_messages: '["{\\"message\\": \\"Purchase Invoice new-purchase-invoice-cobuuwxqge not found\\", \\"title\\": \\"Message\\", \\"indicator\\": \\"red\\", \\"raise_exception\\": 1, \\"__frappe_exc_id\\": \\"339d01729b1b18e8384f67c46dad3d7b143e4df256ad685d5e97e528\\"}"]'
},
pipe: [Function (anonymous)],
[Symbol(kCapture)]: false
}
}