{"record":{"id":"72781cb2c189b4b2","repo":"vercel/next.js","slug":"invalid-interception-route-path-must-be-in-th","errorCode":null,"errorMessage":"Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>","messagePattern":"Invalid interception route: (.+?)\\. Must be in the format /<intercepting route>/\\(\\.\\.\\|\\.\\.\\.\\|\\.\\.\\)\\(\\.\\.\\)/<intercepted route>","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/next/src/shared/lib/router/utils/interception-routes.ts","lineNumber":55,"sourceCode":"  for (const segment of path.split('/')) {\n    marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n    if (marker) {\n      ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n      break\n    }\n  }\n\n  if (!interceptingRoute || !marker || !interceptedRoute) {\n    throw new Error(\n      `Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`\n    )\n  }","sourceCodeStart":37,"sourceCodeEnd":73,"githubUrl":"https://github.com/vercel/next.js/blob/0eb377541648e63402a47b38fee00a8d0ce8f8f1/packages/next/src/shared/lib/router/utils/interception-routes.ts#L37-L73","documentation":"Parser guard in extractInterceptionRouteInformation: walking the path segments found an interception marker (.., ...,(..)(..)) but could not split the path into a non-empty intercepting route and intercepted route around it. The generated interception-route pathname is structurally invalid; the expected format is spelled out in the message.","triggerScenarios":"An interception route path does not match the required marker format.","commonSituations":"A route segment using (..), (...), or (..)(..) in an invalid arrangement.","solutions":["Format the route as /<intercepting>/(..|...|..)(..)/<intercepted>."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0eb377541648e63402a47b38fee00a8d0ce8f8f1","analyzedAt":"2026-08-19T02:10:13.922Z","contentChangedAt":"2026-08-19T02:10:13.922Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}