I run a dedicated server and I had an issue to where the server's logs would get spammed all the time with this error.
I had to download CSMM's mod - https://docs.csmm.app/en/cpm/
To get the console command Remove Entity, so I could remove the bugged drone.