Error when querying book data record.