When I try to delete an old agent, an `Unknown API error` has occurred. 