better error for duplicate based on db info rather than transmission itsel