Error writing to cache.