I’m trying to update the memo on a transfer order....
# integrations
t
I’m trying to update the memo on a transfer order. But every time I run this simple request I get the error shown below. Any help? Request:
Copy code
<soap:updateList>
    <record internalId="95951520" xsi:type="tranInvt:TransferOrder" xmlns:tranInvt="urn:inventory_2023_2.transactions.webservices.netsuite.com">
        <tranInvt:memo>My test</tranInvt:memo>
    </record>
</soap:updateList>
Error:
Copy code
<soapenv:Fault>
     <faultcode>soapenv:Server.userException</faultcode>
     <faultstring>org.xml.sax.SAXException: Invalid type: null</faultstring>
     <detail>
        <ns1:hostname xmlns:ns1="<http://xml.apache.org/axis/>">partners135.prod-iad-na10.core.ns.internal</ns1:hostname>
    </detail>
</soapenv:Fault>
b
you havent shared enough of the request to tell
but its unlikely that updateList is part of the soap namespace
other than that, thats the error you get when you are posting to the wrong port
s
There are two memo on a transfer order ,the main and the line item which one you talking about
t
I figured it out. The request url and the urn had mismatching versions (i.e. 2023_2 vs 2020_2).