format failed message