Every midserver has a corresponding ecc_agent_status record. When you clone back from production, this often gets lost. Which causes the error in the logs.
Here are two options to fix this issue.
Option 1: Create New ecc_agent_status record
In the instance that has the error.
Delete all the empty records from ecc_agent_status table.
Create a new record in ecc_agent_status table by just adding your midserver name.
Repeat for all midservers used in that instance
Error should stop
Option 2: Exclude tables
In Production
Left Navigator Bar > System Clone > Exclude Tables
Add ecc_agent_status
On next clone back, error doesn’t occur in target instance