do not update date and etag if error code is received from server