Backend routes expect domain name (string), not id (number). Frontend was passing domain.id but should pass domain.name.