error messaging in card