Did you figure out, what had been the problem?Currently ran into the same. I am sure, others also would benefit.
Was tired, when I stumbled over the "Problem". Error message could give some detail which id causes the error though...
When somebody else runs into this, very likely you either used the Order.id instead of the CalculatedOrder.id, or the LineItem.id instead of the CalculatedLineItem.id.
I saw you are using wrong line item id.
You need to use calculated line item id for example gid://shopify/CalculatedLineItem/6390811525278
Hope this helps!