Hi, When creating an custom record using SOAP web...
# suitetalkapi
c
Hi, When creating an custom record using SOAP webservices, the following error is throwing SOAP SCHEMA <soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:messages_2018_2.platform.webservices.netsuite.com" xmlns:ns6="urn:customization_2018_2.setup.webservices.netsuite.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns13="urn:core_2018_2.platform.webservices.netsuite.com" xmlns:ns12="urn:sales_2018_2.transactions.webservices.netsuite.com" xmlns:urn1="urn:core_2018_2.platform.webservices.netsuite.com"> <soapenv:Header> <urnpreferences&gt;&lt;/urnpreferences> <urnpartnerInfo&gt;&lt;/urnpartnerInfo> <urn:tokenPassport> <urn1account&gt;{{ACCOUNT}}&lt;/urn1account> <urn1consumerKey&gt;{{CONSUMER KEY}}&lt;/urn1consumerKey> <urn1token&gt;{{TOKEN ID}}&lt;/urn1token> <urn1nonce&gt;{{nonce}}&lt;/urn1nonce> <urn1timestamp&gt;{{timestamp}}&lt;/urn1timestamp> <urn1:signature algorithm="HMAC-SHA256">{{signature}}</urn1:signature> </urn:tokenPassport> </soapenv:Header> <soapenv:Body> <addList> <record xsi:type="ns6:CustomRecord" externalId="TEST"> <ns6:recType internalId="customrecord_sps_package_interface"/> <ns6:customFieldList> <urn1:customField xsi:type="urn1:StringCustomFieldRef" scriptId="custrecord_sps_ssccbarcode"> <urn1value&gt;SO20970&lt;/urn1value> </urn1:customField> </ns6:customFieldList> </record> </addList> </soapenv:Body> </soapenv:Envelope> RESPONSE <addListResponse xmlns=""> <platformMsgs:writeResponseList xmlns:platformMsgs="urn:messages_2018_2.platform.webservices.netsuite.com"> <platformCore:status isSuccess="true" xmlns:platformCore="urn:core_2018_2.platform.webservices.netsuite.com"/> <platformMsgs:writeResponse> <platformCore:status isSuccess="false" xmlns:platformCore="urn:core_2018_2.platform.webservices.netsuite.com"> <platformCore:statusDetail type="ERROR"> <platformCorecode&gt;UNEXPECTED ERROR&lt;/platformCorecode> <platformCore:message>An unexpected error occurred. Error ID: l6l75l68ciyyshiogerx</platformCore:message> </platformCore:statusDetail> </platformCore:status> </platformMsgs:writeResponse> </platformMsgs:writeResponseList> </addListResponse> Does anyone have workaround ? Please share
b
the internal id of the type is an internal id, not the script id
the internal id of the record type is a number, its not the script id
👍 1
c
That's worked, Thanks