@huoxito  Will a nil line_item cause a failure later in the call? If so, I think we should raise a specific exception because we can detect the issue here, rather than causing unexpected behavior later.