addLink throws en exception when the route doesn't exist