handle errors for records.  add info response_type