Untitled
server INFO GET /site/events/65a4f21eee2c411296bad460/guest/65a53b5eee2c411296bb07f5/appProfile?guestSecureId=65a4f252ee2c411296bad6b2-7018244 500 - 364ms {} [typecheck] No errors server INFO Chat read { recipientId: '65a53b5eee2c411296bb07f5', at: '2024-01-16T09:32:28.564Z' } server INFO GET /chat/event/65a4f21eee2c411296bad460/guest/65a4f252ee2c411296bad6b2-7018244/with/65a53b5eee2c411296bb07f5/messages?page=1&limit=40 200 - 164ms {} server INFO Chat read { recipientId: '65a53b5eee2c411296bb07f5', at: '2024-01-16T09:32:28.741Z' } server ERROR Caught in middleware DocumentNotFoundError: No document found for query "{ _id: new ObjectId("65a53b5eee2c411296bb07f5"), parentEvent: new ObjectId("65a4f21eee2c411296bad460") }" on model "GuestModel" at _orFailError (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4337:11) ... 8 lines matching cause stack trace ... at getFieldsForOneGuest (/home/timothee/CODE/orchestration/api/src/features/guestManagement/find/repository.ts:70:17) { status: 500, slug: null, shortMessage: 'No document found for query "{\n' + ' _id: new ObjectId("65a53b5eee2c411296bb07f5"),\n' + ' parentEvent: new ObjectId("65a4f21eee2c411296bad460")\n' + '}" on model "GuestModel" (DocumentNotFoundError)', context: { cause: DocumentNotFoundError: No document found for query "{ _id: new ObjectId("65a53b5eee2c411296bb07f5"), parentEvent: new ObjectId("65a4f21eee2c411296bad460") }" on model "GuestModel" at _orFailError (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4337:11) at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4287:17 at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4526:15 at Query._completeOne (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2451:12) at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2527:10 at new Promise (<anonymous>) at model.Query._findOne (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2526:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async model.Query.exec (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4419:11) at getFieldsForOneGuest (/home/timothee/CODE/orchestration/api/src/features/guestManagement/find/repository.ts:70:17) { result: undefined, numAffected: undefined, filter: [Object], query: [Object] } }, criticity: 2, cause: DocumentNotFoundError: No document found for query "{ _id: new ObjectId("65a53b5eee2c411296bb07f5"), parentEvent: new ObjectId("65a4f21eee2c411296bad460") }" on model "GuestModel" at _orFailError (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4337:11) at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4287:17 at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4526:15 at Query._completeOne (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2451:12) at /home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2527:10 at new Promise (<anonymous>) at model.Query._findOne (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:2526:10) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async model.Query.exec (/home/timothee/CODE/orchestration/api/node_modules/mongoose/lib/query.js:4419:11) at getFieldsForOneGuest (/home/timothee/CODE/orchestration/api/src/features/guestManagement/find/repository.ts:70:17) { result: undefined, numAffected: undefined, filter: { _id: new ObjectId("65a53b5eee2c411296bb07f5"), parentEvent: new ObjectId("65a4f21eee2c411296bad460") }, query: { _id: new ObjectId("65a53b5eee2c411296bb07f5"), parentEvent: new ObjectId("65a4f21eee2c411296bad460") } }, errorId: '5f2df8ab-f0be-4e55-ae2b-69ce69c33b91' }
Leave a Comment