{"record":{"id":"d71cb30ed54c1b38","repo":"nestjs/nest","slug":"unsupported-route-path-route-in-previous-ve","errorCode":null,"errorMessage":"Unsupported route path: \"${route}\". In previous versions, the symbols ?, *, and + were used to denote optional or repeating path parameters. The latest version of \"path-to-regexp\" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with \"/users\", you should use /users/*path. For more details, refer to the migration guide. Attempting to auto-convert to \"${convertedRoute}\"...","messagePattern":"Unsupported route path: \"(.+?)\"\\. In previous versions, the symbols \\?, \\*, and \\+ were used to denote optional or repeating path parameters\\. The latest version of \"path-to-regexp\" now requires the use of named parameters\\. For example, instead of using a route like /users/\\* to capture all routes starting with \"/users\", you should use /users/\\*path\\. For more details, refer to the migration guide\\. Attempting to auto-convert to \"(.+?)\"\\.\\.\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/core/router/legacy-route-converter.ts","lineNumber":86,"sourceCode":"      );\n      printWarning(route, convertedRoute);\n      return convertedRoute;\n    }\n\n    return route;\n  }\n\n  static printError(route: string): void {\n    this.logger.error(UNSUPPORTED_PATH_MESSAGE`${route}`);\n  }\n\n  static printWarning(route: string, convertedRoute?: string): void {\n    // Surface the auto-converted result so users can map the flagged path to a\n    // concrete fix, instead of only seeing the (often prefixed) offending path.\n    const autoConvertMessage = convertedRoute\n      ? ` Attempting to auto-convert to \"${convertedRoute}\"...`\n      : ' Attempting to auto-convert...';\n    this.logger.warn(UNSUPPORTED_PATH_MESSAGE`${route}` + autoConvertMessage);\n  }\n}\n","sourceCodeStart":68,"sourceCodeEnd":89,"githubUrl":"https://github.com/nestjs/nest/blob/dd75d7bd8c5e88048587e6768d36eb695f3e7a25/packages/core/router/legacy-route-converter.ts#L68-L89","documentation":"Error \"Unsupported route path: \"${route}\". In previous versions, the symbols ?, *, and + were used to denote optional or repeating path parameters. The latest version of \"path-to-regexp\" now requires the use of named parameters. For example, instead of using a route like /users/* to capture all routes starting with \"/users\", you should use /users/*path. For more details, refer to the migration guide. Attempting to auto-convert to \"${convertedRoute}\"...\" thrown in nestjs/nest.","triggerScenarios":"Thrown at packages/core/router/legacy-route-converter.ts:86 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"dd75d7bd8c5e88048587e6768d36eb695f3e7a25","analyzedAt":"2026-08-21T19:39:39.867Z","contentChangedAt":"2026-08-21T19:39:39.867Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}