According to your description, it should be that the workflow waited too long for the response, and automatically requested the Rest again.
You could try to reset some attributes related to the workflow manager's HTTP request, such as WorkflowServiceMaxHttpResponseTime,WorkflowServiceMaxHttpRetryDelay.
You could refer to this issue to set the workflow manager:https://sharepoint.stackexchange.com/questions/95614/how-to-change-timeout-for-httpsend-activity
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.