Could you please share a screenshot of your flow's configuration? Further, could you please show more details about the error message within your flow?
I have made a test on my side and the issue is confirmed. Please take a try to add a "Delay" action before the "Update task details" action as an available solution. I have made a test on my side and the flow's configuration as below:
The flow works successfully as below:
The user @Miller1 has faced same issue with you, please check and see if the following thread would help in your scenario: