{"level":"error","timestamp":"2025-12-26T09:21:30.334Z"}
{"level":"error","timestamp":"2025-12-26T09:25:25.632Z"}
{"level":"error","timestamp":"2025-12-29T08:18:51.550Z"}
{"level":"error","timestamp":"2025-12-29T08:18:52.090Z"}
{"level":"error","timestamp":"2025-12-29T08:18:52.257Z"}
{"level":"error","timestamp":"2025-12-29T08:18:52.416Z"}
{"level":"error","timestamp":"2025-12-29T08:18:52.599Z"}
{"level":"error","timestamp":"2025-12-29T08:18:53.024Z"}
{"level":"error","timestamp":"2025-12-29T08:18:53.184Z"}
{"level":"error","timestamp":"2025-12-29T08:18:53.364Z"}
{"level":"error","timestamp":"2025-12-29T08:18:53.529Z"}
{"level":"error","timestamp":"2025-12-29T08:25:49.418Z"}
{"level":"error","timestamp":"2025-12-29T08:29:35.416Z"}
{"level":"error","timestamp":"2025-12-29T08:29:51.635Z"}
{"level":"error","timestamp":"2025-12-29T08:29:51.817Z"}
{"level":"error","timestamp":"2025-12-29T08:31:44.465Z"}
{"level":"error","timestamp":"2025-12-29T08:31:46.928Z"}
{"level":"error","timestamp":"2025-12-29T08:32:19.336Z"}
{"level":"error","timestamp":"2025-12-29T08:32:31.725Z"}
{"level":"error","timestamp":"2025-12-29T08:32:31.885Z"}
{"level":"error","timestamp":"2025-12-29T08:33:17.772Z"}
{"level":"error","timestamp":"2025-12-29T08:35:40.988Z"}
{"level":"error","timestamp":"2025-12-29T08:35:41.302Z"}
{"level":"error","timestamp":"2025-12-29T08:35:42.063Z"}
{"level":"error","timestamp":"2025-12-29T08:35:43.278Z"}
{"level":"error","timestamp":"2025-12-29T08:35:43.603Z"}
{"level":"error","timestamp":"2025-12-29T08:36:16.596Z"}
{"level":"error","timestamp":"2025-12-29T08:49:30.655Z"}
{"level":"error","timestamp":"2025-12-29T08:49:41.933Z"}
{"isOperational":true,"level":"error","statusCode":404,"timestamp":"2025-12-29T08:51:16.050Z"}
{"isOperational":true,"level":"error","statusCode":404,"timestamp":"2025-12-29T08:52:01.822Z"}
{"isOperational":true,"level":"error","statusCode":400,"timestamp":"2025-12-29T09:42:34.650Z"}
{"isOperational":true,"level":"error","statusCode":400,"timestamp":"2025-12-29T10:12:07.887Z"}
{"level":"error","timestamp":"2025-12-29T10:28:15.611Z"}
{"level":"error","timestamp":"2025-12-29T10:31:02.030Z"}
{"level":"error","timestamp":"2025-12-29T10:31:02.881Z"}
{"level":"error","timestamp":"2025-12-29T10:31:10.152Z"}
{"level":"error","timestamp":"2025-12-29T10:31:10.917Z"}
{"level":"error","timestamp":"2025-12-29T10:31:12.678Z"}
{"level":"error","timestamp":"2025-12-29T10:31:13.534Z"}
{"level":"error","timestamp":"2025-12-29T10:34:53.847Z"}
{"level":"error","timestamp":"2025-12-29T10:38:12.848Z"}
{"level":"error","timestamp":"2025-12-29T10:39:09.198Z"}
{"level":"error","timestamp":"2025-12-29T10:40:00.575Z"}
{"level":"error","timestamp":"2025-12-29T10:40:10.214Z"}
{"level":"error","timestamp":"2025-12-29T10:41:07.490Z"}
{"level":"error","timestamp":"2025-12-29T10:41:25.608Z"}
{"level":"error","timestamp":"2025-12-29T10:41:41.647Z"}
{"level":"error","timestamp":"2025-12-29T10:42:10.786Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:42:44.926Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:42:50.458Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:42:56.651Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:42:57.490Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:43:06.052Z"}
{"_message":"Lead validation failed","errors":{"products":{"kind":"user defined","message":"At least one product must be selected for the lead","name":"ValidatorError","path":"products","properties":{"message":"At least one product must be selected for the lead","path":"products","type":"user defined","value":[]},"value":[]}},"level":"error","message":"Lead validation failed: products: At least one product must be selected for the lead","name":"ValidationError","timestamp":"2025-12-29T10:43:12.322Z"}
{"level":"error","timestamp":"2025-12-29T10:43:26.036Z"}
{"isOperational":true,"level":"error","statusCode":404,"timestamp":"2025-12-29T10:44:17.060Z"}
{"level":"error","timestamp":"2025-12-29T10:51:59.251Z"}
{"level":"error","timestamp":"2025-12-29T10:52:10.365Z"}
{"isOperational":true,"level":"error","statusCode":400,"timestamp":"2025-12-29T10:52:51.741Z"}
{"level":"error","timestamp":"2025-12-29T10:54:08.189Z"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"1\" (type string) at path \"_id\" for model \"Role\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"1\"","value":"1","valueType":"string"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"1\" (type string) at path \"_id\" for model \"Role\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"1\"","value":"1","valueType":"string"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"1\" (type string) at path \"_id\" for model \"Role\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"1\"","value":"1","valueType":"string"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"1\" (type string) at path \"_id\" for model \"Role\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"1\"","value":"1","valueType":"string"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"[object Object]\" (type string) at path \"_id\" for model \"User\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"[object Object]\"","value":"[object Object]","valueType":"string"}
{"kind":"ObjectId","message":"Cast to ObjectId failed for value \"[object Object]\" (type string) at path \"_id\" for model \"User\"","name":"CastError","path":"_id","reason":{},"stringValue":"\"[object Object]\"","value":"[object Object]","valueType":"string"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T05:46:13.306Z"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T05:46:14.403Z"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T05:46:14.986Z"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T05:46:22.827Z"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T05:51:03.539Z"}
{"level":"error","timestamp":"2026-01-20T06:05:32.583Z"}
{"level":"error","path":"companyId","timestamp":"2026-01-20T06:38:32.575Z"}
{"level":"error","timestamp":"2026-01-20T07:02:21.306Z"}
{"level":"error","timestamp":"2026-01-20T12:57:34.355Z"}
{"level":"error","timestamp":"2026-01-20T14:07:04.970Z"}
{"code":"ERR_INVALID_ARG_TYPE","level":"error","timestamp":"2026-01-20T14:08:04.718Z"}
{"level":"error","timestamp":"2026-01-21T18:58:42.702Z"}
{"level":"error","timestamp":"2026-01-21T18:58:57.906Z"}
{"_message":"ActivityLog validation failed","errors":{"action":{"kind":"enum","message":"`download` is not a valid enum value for path `action`.","name":"ValidatorError","path":"action","properties":{"enumValues":["login","logout","create","update","delete","approve","reject","review"],"length":8,"message":"`download` is not a valid enum value for path `action`.","path":"action","type":"enum","value":"download"},"value":"download"}},"level":"error","message":"ActivityLog validation failed: action: `download` is not a valid enum value for path `action`.","name":"ValidationError","timestamp":"2026-01-21T19:01:19.425Z"}
{"_message":"ActivityLog validation failed","errors":{"action":{"kind":"enum","message":"`export` is not a valid enum value for path `action`.","name":"ValidatorError","path":"action","properties":{"enumValues":["login","logout","create","update","delete","approve","reject","review"],"length":6,"message":"`export` is not a valid enum value for path `action`.","path":"action","type":"enum","value":"export"},"value":"export"}},"level":"error","message":"ActivityLog validation failed: action: `export` is not a valid enum value for path `action`.","name":"ValidationError","timestamp":"2026-01-21T19:01:43.837Z"}
{"_message":"ActivityLog validation failed","errors":{"action":{"kind":"enum","message":"`share` is not a valid enum value for path `action`.","name":"ValidatorError","path":"action","properties":{"enumValues":["login","logout","create","update","delete","approve","reject","review","download"],"length":5,"message":"`share` is not a valid enum value for path `action`.","path":"action","type":"enum","value":"share"},"value":"share"}},"level":"error","message":"ActivityLog validation failed: action: `share` is not a valid enum value for path `action`.","name":"ValidationError","timestamp":"2026-01-22T04:41:58.534Z"}
{"_message":"Task validation failed","errors":{"assignedTo":{"kind":"required","message":"Assigned user is required","name":"ValidatorError","path":"assignedTo","properties":{"message":"Assigned user is required","path":"assignedTo","type":"required"}}},"level":"error","message":"Task validation failed: assignedTo: Assigned user is required","name":"ValidationError","timestamp":"2026-04-20T07:50:41.347Z"}
{"level":"error","timestamp":"2026-04-22T05:02:11.520Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4672586521,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T13:52:29.262Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4672604376,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T13:52:47.016Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4672613049,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T13:52:55.608Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4672670235,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T13:53:53.104Z"}
{"level":"error","timestamp":"2026-04-22T13:54:36.960Z"}
{"level":"error","message":"❌ MongoDB Connection Error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017","timestamp":"2026-04-22T13:54:54.700Z"}
{"level":"error","message":"❌ MongoDB Connection Error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017","timestamp":"2026-04-22T13:55:58.380Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4675758024,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T14:45:20.647Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4675781550,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T14:45:44.110Z"}
{"errorLabelSet":{},"level":"error","reason":{"commonWireVersion":0,"compatible":true,"heartbeatFrequencyMS":10000,"localThresholdMS":15,"logicalSessionTimeoutMinutes":null,"maxElectionId":null,"maxSetVersion":null,"servers":{"localhost:27017":{"$clusterTime":null,"address":"localhost:27017","arbiters":[],"electionId":null,"error":{"beforeHandshake":false,"errorLabelSet":{}},"hosts":[],"iscryptd":false,"lastUpdateTime":4675792341,"lastWriteDate":0,"logicalSessionTimeoutMinutes":null,"maxBsonObjectSize":null,"maxMessageSizeBytes":null,"maxWireVersion":0,"maxWriteBatchSize":null,"me":null,"minRoundTripTime":0,"minWireVersion":0,"passives":[],"primary":null,"roundTripTime":-1,"setName":null,"setVersion":null,"tags":{},"topologyVersion":null,"type":"Unknown"}},"setName":null,"stale":false,"type":"Single"},"timestamp":"2026-04-22T14:45:55.131Z"}
{"level":"error","message":"❌ MongoDB Connection Error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017","timestamp":"2026-04-22T14:47:08.703Z"}
{"level":"error","timestamp":"2026-04-27T10:26:31.978Z"}
{"level":"error","message":"❌ MongoDB Connection Error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017","timestamp":"2026-04-27T10:26:42.513Z"}
{"level":"error","message":"❌ MongoDB Connection Error: connect ECONNREFUSED ::1:27017, connect ECONNREFUSED 127.0.0.1:27017","timestamp":"2026-04-28T07:36:54.308Z"}
{"isOperational":true,"level":"error","statusCode":409,"timestamp":"2026-05-04T12:48:29.167Z"}
{"isOperational":true,"level":"error","statusCode":409,"timestamp":"2026-05-04T12:48:33.220Z"}
{"level":"error","timestamp":"2026-05-04T14:39:49.368Z"}
{"level":"error","timestamp":"2026-05-04T14:39:49.629Z"}
{"level":"error","timestamp":"2026-05-04T14:39:49.812Z"}
{"level":"error","timestamp":"2026-05-04T14:39:49.875Z"}
