The script reports an error when attempting to update more than one record ID, even if the records have actually been successfully updated.