Invoice payment fails with a "You passed an empty string for line_items[1][description]

Hi y’all,

I have a customer who was seeing this error on an invoice I created and sent to them:

The error only appeared when they tried to run the charge. It did capture their payment info and save it in Stripe, so I was able to process it manually. Does anyone know why this is happening?

I’m assuming something was wrong with the line items setup. There’s only one product on the invoice, plus a “Special” for a discount, and a service charge. The product does have a description.

How do I avoid this in the future?