Is anyone aware of any recent NetSuite changes tha...
# suitecommerce
e
Is anyone aware of any recent NetSuite changes that would cause SuiteCommerce 2025.2.10 to throw an error when calling Cart.addLines() when attempting to set a custom item option?
Copy code
Cart.addLines({
    lines: [{
        quantity: qty,
        item: {
            internalid: softwareItemId
        },
        options: [
            {
                cartOptionId: "custcol_pk_option",
                value: {
                    internalid: self.model.get("productKeyShort")
                }
            },
            {
                cartOptionId: 'custcol_reactivate_seat_count',
                value: {
                    internalid: self.model.get("seatCount")
                }
            }
        ]
    }]
}).then(function (response) { ...
Have had this bit of code untouched for a few years and worked fine until some one reported today they could not add an item to the cart. Now NetSuite is returning:
Copy code
{
  "errorStatusCode": "400",
  "errorCode": "ERR_WS_ADD_ITEM",
  "errorMessage": "Failed when adding item to cart"
}