Failed to save record because Invalid API usage. You must use getValue to return the value set with setValue. - anyone had this error?

Failed to save record because Invalid API usage. You must use getValue to return the value set with setValue. - anyone had this error?

I am getting this error why trying to create a customer refund in NetSuite. Never had this error before.

Below is the output

{
  "nlobjFieldIds": {
    "customer": 48045311,
    "total": 308.05,
    "paymentmethod": 1,
    "class": 18,
    "location": 7,
    "account": 339,
    "aracct": 132,
    "paymentoption": 11,
    "memo": "Magenta POS Transaction",
    "custbody_magenta_customer_number": "42802218",
    "custbody_magenta_txn_invoicenumber": "080701900143",
    "custbody_magenta_txn_id": "26020210372708070108070100900269",
    "custbody_magenta_txn_number": "08070100900269"
  },
  "nlobjSublistIds": {}
}