You can try this to fix this issue-
You can read more about Indexing at below article-
I have a scheduled job that updates expiration dates on content items. While the job seems to be fine and is updating the expiration date and is publishing the content.
However I see this error in the logs: