call error method instead of success method when read fails