Yet this is the better error message. You should use a PropertyId, not an EntityId, as the later is highly deprecated.