Token inválido o expirado en middleware: jwt expired
[Nest] 14874 - 06/09/2025, 11:23:58 PM ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'query')
TypeError: Cannot read properties of undefined (reading 'query')
at PublicacionController.findAllPaginated (/Users/kevinazua/Desktop/tesis-backend/src/publicacion/publicacion.controller.ts:25:44)
at /Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/router/router-execution-context.js:38:29
at InterceptorsConsumer.transformDeferred (/Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:31:33)
at /Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:18:86
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at bound (node:async_hooks:235:16)
at Observable._subscribe (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/observable/defer.ts:55:15)
at Observable.Observable._trySubscribe (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/Observable.ts:244:19)
at <anonymous> (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/Observable.ts:234:18)
at Object.errorContext (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
Token inválido o expirado en middleware: jwt expired
[Nest] 14874 - 06/09/2025, 11:24:01 PM ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'query')
TypeError: Cannot read properties of undefined (reading 'query')
at PublicacionController.findAllPaginated (/Users/kevinazua/Desktop/tesis-backend/src/publicacion/publicacion.controller.ts:25:44)
at /Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/router/router-execution-context.js:38:29
at InterceptorsConsumer.transformDeferred (/Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:31:33)
at /Users/kevinazua/Desktop/tesis-backend/node_modules/@nestjs/core/interceptors/interceptors-consumer.js:18:86
at AsyncResource.runInAsyncScope (node:async_hooks:203:9)
at bound (node:async_hooks:235:16)
at Observable._subscribe (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/observable/defer.ts:55:15)
at Observable.Observable._trySubscribe (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/Observable.ts:244:19)
at <anonymous> (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/Observable.ts:234:18)
at Object.errorContext (/Users/kevinazua/Desktop/tesis-backend/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
Whats happening?