Cause
This error occurs if you attempt to create an instance of an external object or attempt to update an external collection. Since external objects and collections are created and maintained automatically by the external database engine, these operations are not valid.
Action
Remove the invalid code.