(You don't need to gather the matches, just say the path is invalid because the query cannot contain path params)