GIF89a
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:13:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
MongoServerError: E11000 duplicate key error collection: viralhoga_app_db.auths index: mobile_1 dup key: { mobile: "1234567890" }
at InsertOneOperation.handleOk (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/insert.js:51:19)
at executeOperationWithRetries (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/execute_operation.js:194:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async executeOperation (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/execute_operation.js:83:16)
at async Collection.insertOne (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/collection.js:154:16)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:428:16)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:35:18 {
errorLabelSet: Set(0) {},
errorResponse: {
index: 0,
code: 11000,
keyPattern: { mobile: 1 },
keyValue: { mobile: '1234567890' },
errmsg: 'E11000 duplicate key error collection: viralhoga_app_db.auths index: mobile_1 dup key: { mobile: "1234567890" }'
},
index: 0,
code: 11000,
keyPattern: { mobile: 1 },
keyValue: { mobile: '1234567890' }
}
MongoServerError: E11000 duplicate key error collection: viralhoga_app_db.auths index: mobile_1 dup key: { mobile: "1234567890" }
at InsertOneOperation.handleOk (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/insert.js:51:19)
at executeOperationWithRetries (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/execute_operation.js:194:34)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async executeOperation (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/operations/execute_operation.js:83:16)
at async Collection.insertOne (/home/viralhoga/app_viralhoga/node_modules/mongodb/lib/collection.js:154:16)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:428:16)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:35:18 {
errorLabelSet: Set(0) {},
errorResponse: {
index: 0,
code: 11000,
keyPattern: { mobile: 1 },
keyValue: { mobile: '1234567890' },
errmsg: 'E11000 duplicate key error collection: viralhoga_app_db.auths index: mobile_1 dup key: { mobile: "1234567890" }'
},
index: 0,
code: 11000,
keyPattern: { mobile: 1 },
keyValue: { mobile: '1234567890' }
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:111:35 {
statusCode: 401,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: User not found
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:28:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:111:35 {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:111:35 {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:111:35 {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:219:14)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avitar',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avitar',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avatar',
storageErrors: []
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ValidationError: User validation failed: role: `BOTH` is not a valid enum value for path `role`.
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2864:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:290:5 {
errors: {
role: ValidatorError: `BOTH` is not a valid enum value for path `role`.
at SchemaString.doValidate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/schemaType.js:1517:13)
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2842:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:290:5 {
properties: [Object],
kind: 'enum',
path: 'role',
value: 'BOTH',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'User validation failed'
}
ValidationError: User validation failed: role: `BOTH` is not a valid enum value for path `role`.
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2864:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:290:5 {
errors: {
role: ValidatorError: `BOTH` is not a valid enum value for path `role`.
at SchemaString.doValidate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/schemaType.js:1517:13)
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2842:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:290:5 {
properties: [Object],
kind: 'enum',
path: 'role',
value: 'BOTH',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'User validation failed'
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid OTP
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:263:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
SyntaxError: Expected ',' or '}' after property value in JSON at position 27
at JSON.parse (<anonymous>)
at parse (/home/viralhoga/app_viralhoga/node_modules/body-parser/lib/types/json.js:72:19)
at /home/viralhoga/app_viralhoga/node_modules/body-parser/lib/read.js:162:18
at AsyncResource.runInAsyncScope (node:async_hooks:206:9)
at invokeCallback (/home/viralhoga/app_viralhoga/node_modules/raw-body/index.js:238:16)
at done (/home/viralhoga/app_viralhoga/node_modules/raw-body/index.js:227:7)
at IncomingMessage.onEnd (/home/viralhoga/app_viralhoga/node_modules/raw-body/index.js:287:7)
at IncomingMessage.emit (node:events:518:28)
at endReadableNT (node:internal/streams/readable:1698:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
expose: true,
statusCode: 400,
status: 400,
body: '{\n "mobile": "1234512345"\n "otp" : "6608"\n}',
type: 'entity.parse.failed'
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: At least one category is required
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:138:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid role
at file:///home/viralhoga/app_viralhoga/src/modules/user/user.controller.js:231:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:111:35 {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:1063473) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js' imported from /home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js
at finalizeResolution (node:internal/modules/esm/resolve:265:11)
at moduleResolve (node:internal/modules/esm/resolve:933:10)
at defaultResolve (node:internal/modules/esm/resolve:1169:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:510:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:239:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:96:40)
at link (node:internal/modules/esm/module_job:95:36) {
code: 'ERR_MODULE_NOT_FOUND',
url: 'file:///home/viralhoga/app_viralhoga/src/models/ContentPurchase.model.js'
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:3055936) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:3055936) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:3055936) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:3055936) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:101:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:3678016) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:4012752) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avitar',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avatar',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avatar',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'avitar',
storageErrors: []
}
ApiError: Content already purchased
at file:///home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js:92:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Category not found
at file:///home/viralhoga/app_viralhoga/src/modules/admin/admin.controller.js:75:26
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
(node:4044274) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
ApiError: Content not found
at file:///home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js:82:15
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 404,
success: false
}
(node:4044274) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:4044274) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:4044274) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:4044274) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ReferenceError: roleContaints is not defined
at file:///home/viralhoga/app_viralhoga/src/modules/contents/content.controller.js:149:24
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:219:14)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'profilePhoto',
storageErrors: []
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:219:14)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'profilePhoto',
storageErrors: []
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:219:14)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'profilePhoto',
storageErrors: []
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/writerMusicBooking/writerMusicBooking.controller.js:31:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:600:14)
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:610:14) {
statusCode: 400,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/writerMusicBooking/writerMusicBooking.controller.js:31:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:600:14)
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:610:14) {
statusCode: 400,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:13:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:13:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:13:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:13:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at done (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:70:7)
at indicateDone (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:74:68)
at /home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:247:11
at WriteStream.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/storage/disk.js:47:9)
at WriteStream.emit (node:events:530:35)
at finish (node:internal/streams/writable:955:10) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ApiError: Invalid artist id
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:132:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 400,
success: false
}
ValidationError: ArtistBooking validation failed: emailId: Path `emailId` is required.
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2864:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:136:21 {
errors: {
emailId: ValidatorError: Path `emailId` is required.
at SchemaString.doValidate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/schemaType.js:1517:13)
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2842:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:136:21 {
properties: [Object],
kind: 'required',
path: 'emailId',
value: '',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'ArtistBooking validation failed'
}
ValidationError: ArtistBooking validation failed: emailId: Path `emailId` is required.
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2864:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:136:21 {
errors: {
emailId: ValidatorError: Path `emailId` is required.
at SchemaString.doValidate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/schemaType.js:1517:13)
at model.validate (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/document.js:2842:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async model.$__save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:393:7)
at async model.save (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:667:5)
at async Function.create (/home/viralhoga/app_viralhoga/node_modules/mongoose/lib/model.js:2747:5)
at async file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:136:21 {
properties: [Object],
kind: 'required',
path: 'emailId',
value: '',
reason: undefined,
[Symbol(mongoose#validatorError)]: true
}
},
_message: 'ArtistBooking validation failed'
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: All fields are required
at file:///home/viralhoga/app_viralhoga/src/modules/programBooking/programBooking.controller.js:129:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:600:14)
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:610:14) {
statusCode: 400,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:4087544) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'profilePhoto',
storageErrors: []
}
(node:4087544) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
(node:4087544) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
MulterError: Unexpected field
at wrappedFileFilter (/home/viralhoga/app_viralhoga/node_modules/multer/index.js:41:19)
at Multipart.<anonymous> (/home/viralhoga/app_viralhoga/node_modules/multer/lib/make-middleware.js:193:7)
at Multipart.emit (node:events:518:28)
at HeaderParser.cb (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:358:14)
at HeaderParser.push (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:162:20)
at SBMH.ssCb [as _cb] (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:394:37)
at feed (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:248:10)
at SBMH.push (/home/viralhoga/app_viralhoga/node_modules/streamsearch/lib/sbmh.js:104:16)
at Multipart._write (/home/viralhoga/app_viralhoga/node_modules/busboy/lib/types/multipart.js:567:19)
at writeOrBuffer (node:internal/streams/writable:572:12) {
code: 'LIMIT_UNEXPECTED_FILE',
field: 'profilePhoto',
storageErrors: []
}
ApiError: Unauthorized
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:12:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/modules/auth/auth.controller.js:180:22
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
statusCode: 401,
success: false
}
(node:398930) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:398930) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:398930) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
(node:398930) [MONGOOSE] Warning: mongoose: the `new` option for `findOneAndUpdate()` and `findOneAndReplace()` is deprecated. Use `returnDocument: 'after'` instead.
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:600:14)
at param (/home/viralhoga/app_viralhoga/node_modules/router/index.js:610:14) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}
ApiError: Invalid credentials
at file:///home/viralhoga/app_viralhoga/src/middleware/authMiddleware.js:26:15
at file:///home/viralhoga/app_viralhoga/src/utils/AsyncHandler.js:4:25
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at next (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:157:13)
at Route.dispatch (/home/viralhoga/app_viralhoga/node_modules/router/lib/route.js:117:3)
at handle (/home/viralhoga/app_viralhoga/node_modules/router/index.js:435:11)
at Layer.handleRequest (/home/viralhoga/app_viralhoga/node_modules/router/lib/layer.js:152:17)
at /home/viralhoga/app_viralhoga/node_modules/router/index.js:295:15
at processParams (/home/viralhoga/app_viralhoga/node_modules/router/index.js:582:12)
at next (/home/viralhoga/app_viralhoga/node_modules/router/index.js:291:5) {
statusCode: 401,
success: false
}