Populate type_of_error and next_steps fields with correct information.