Cache query errors