[Re-fix]If the primaryKey does not exist, modified to display an error message to that effect.