(node:6274) [MONGOOSE] Warning: Duplicate schema index on {"name":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
[31m[Nest] 6274  - [39m04/25/2026, 10:21:28 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/auth/forgot/send-otp[39m
InternalServerErrorException: Failed to send SMS.
    at NotificationService.sendOtpSms (/home/applearning/backend.app.learningcircle.education/dist/auth/notification.service.js:149:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AuthService.sendOtp (/home/applearning/backend.app.learningcircle.education/dist/auth/auth.service.js:196:13)
[31m[Nest] 6274  - [39m04/25/2026, 10:22:21 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/auth/forgot/send-otp[39m
InternalServerErrorException: Failed to send SMS.
    at NotificationService.sendOtpSms (/home/applearning/backend.app.learningcircle.education/dist/auth/notification.service.js:149:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AuthService.sendOtp (/home/applearning/backend.app.learningcircle.education/dist/auth/auth.service.js:196:13)
[31m[Nest] 6274  - [39m04/25/2026, 11:13:35 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/auth/forgot/send-otp[39m
InternalServerErrorException: Failed to send SMS.
    at NotificationService.sendOtpSms (/home/applearning/backend.app.learningcircle.education/dist/auth/notification.service.js:149:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async AuthService.sendOtp (/home/applearning/backend.app.learningcircle.education/dist/auth/auth.service.js:196:13)
[31m[Nest] 6274  - [39m04/26/2026, 7:17:57 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e18933c36b031a26353279/create-order[39m
[31m[Nest] 6274  - [39m04/26/2026, 7:17:57 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/me[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:48 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:49 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:49 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:51 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:51 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 7:19:51 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 8:38:41 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:02:59 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:04:13 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:04:13 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:04:49 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:04:49 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:08:57 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 9:08:57 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 10:31:34 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 10:31:34 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m04/30/2026, 10:31:34 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/01/2026, 6:25:06 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 6274  - [39m05/01/2026, 6:25:06 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/01/2026, 6:25:33 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 6274  - [39m05/01/2026, 6:25:33 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    description: [32m'Authentication failed'[39m,
    code: [32m'BAD_REQUEST_ERROR'[39m
  }
}
[31m[Nest] 6274  - [39m05/01/2026, 7:03:58 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 6274  - [39m05/01/2026, 7:03:58 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/02/2026, 3:46:06 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:46:06 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:46:06 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:47:50 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:49:05 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:51:45 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:52:56 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:55:04 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:55:35 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 3:58:24 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 6274  - [39m05/02/2026, 5:24:02 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533e7/create-order[39m
[31m[Nest] 6274  - [39m05/02/2026, 5:24:02 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/02/2026, 12:47:37 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e188d0c36b031a263531f8/create-order[39m
[31m[Nest] 6274  - [39m05/02/2026, 12:47:37 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/02/2026, 12:47:47 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e188d0c36b031a263531f8/create-order[39m
[31m[Nest] 6274  - [39m05/02/2026, 12:47:47 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/04/2026, 2:00:16 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 6274  - [39m05/04/2026, 2:00:16 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    description: [32m'Authentication failed'[39m,
    code: [32m'BAD_REQUEST_ERROR'[39m
  }
}
[31m[Nest] 6274  - [39m05/05/2026, 2:39:11 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533f1/create-order[39m
[31m[Nest] 6274  - [39m05/05/2026, 2:39:11 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 6274  - [39m05/06/2026, 3:18:15 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 6274  - [39m05/06/2026, 3:18:16 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    description: [32m'Authentication failed'[39m,
    code: [32m'BAD_REQUEST_ERROR'[39m
  }
}
[31m[Nest] 6274  - [39m05/06/2026, 7:47:26 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533e9/create-order[39m
[31m[Nest] 6274  - [39m05/06/2026, 7:47:26 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
(node:26017) [MONGOOSE] Warning: Duplicate schema index on {"name":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
[31m[Nest] 26017  - [39m05/10/2026, 8:11:53 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e189dfc36b031a263533ab/create-order[39m
[31m[Nest] 26017  - [39m05/10/2026, 8:11:53 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    description: [32m'Authentication failed'[39m,
    code: [32m'BAD_REQUEST_ERROR'[39m
  }
}
[31m[Nest] 26017  - [39m05/10/2026, 1:47:34 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e18986c36b031a2635337e/create-order[39m
[31m[Nest] 26017  - [39m05/10/2026, 1:47:34 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 26017  - [39m05/10/2026, 1:47:56 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69e18986c36b031a2635337e/create-order[39m
[31m[Nest] 26017  - [39m05/10/2026, 1:47:56 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    description: [32m'Authentication failed'[39m,
    code: [32m'BAD_REQUEST_ERROR'[39m
  }
}
[31m[Nest] 26017  - [39m05/11/2026, 11:22:54 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69ed0b2063b745a112bdd642/create-order[39m
[31m[Nest] 26017  - [39m05/11/2026, 11:22:54 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 26017  - [39m05/11/2026, 11:23:01 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on POST /api/fees/assignments/69ed0b2063b745a112bdd642/create-order[39m
[31m[Nest] 26017  - [39m05/11/2026, 11:23:01 PM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39mObject(2) {
  statusCode: [33m401[39m,
  error: {
    code: [32m'BAD_REQUEST_ERROR'[39m,
    description: [32m'Authentication failed'[39m
  }
}
[31m[Nest] 26017  - [39m05/12/2026, 5:59:40 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 26017  - [39m05/12/2026, 5:59:40 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 26017  - [39m05/12/2026, 6:00:07 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
[31m[Nest] 26017  - [39m05/12/2026, 6:00:13 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on OPTIONS /api/auth/login[39m
Error: CORS blocked for origin: http://localhost:3000
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
(node:16259) [MONGOOSE] Warning: Duplicate schema index on {"name":1} found. This is often due to declaring an index using both "index: true" and "schema.index()". Please remove the duplicate index definition.
(Use `node --trace-warnings ...` to show where the warning was created)
[31m[Nest] 16259  - [39m05/19/2026, 5:33:42 AM [31m  ERROR[39m [38;5;3m[HttpExceptionFilter] [39m[31mInternal Server Error on GET /api/settings/public[39m
Error: CORS blocked for origin: http://app.learningcircle.education
    at origin (/home/applearning/backend.app.learningcircle.education/dist/main.js:80:23)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:219:13
    at optionsCallback (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:199:9)
    at corsMiddleware (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/cors/lib/index.js:204:7)
    at Layer.handleRequest (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/lib/layer.js:152:17)
    at trimPrefix (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:342:13)
    at /home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:297:9
    at processParams (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:582:12)
    at next (/home/applearning/nodevenv/backend.app.learningcircle.education/20/lib/node_modules/router/index.js:291:5)
    at /home/applearning/backend.app.learningcircle.education/dist/main.js:59:9
