Can't really do much with that error message.
Here is the SOAP
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <add xmlns="urn:messages_2_6.platform.webservices.netsuite.com"> <record xsi:type="q1:Message" xmlns:q1="urn:communication_2_6.general.webservices.netsuite.com"> <q1:author internalId="-5"/> <q1:recipient internalId="-5"/> <q1:subject>7fcf8ba3-874f-4ed4-a4f8-ae65b468500d</q1:subject> <q1:message>||AttachToRecord(27,991)||</q1:message> <q1:incoming>true</q1:incoming> </record> </add> </soap:Body> </soap:Envelope> <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ns1:documentInfo xmlns:ns1="urn:messages_2_6.platform.webservices.netsuite.com"> <ns1:nsId>WEBSERVICES_483002_031120081622428451465739640_8ffe28515a786</ns1:nsId> </ns1:documentInfo> </soapenv:Header> <soapenv:Body> <addResponse xmlns="urn:messages_2_6.platform.webservices.netsuite.com"> <writeResponse> <ns2:status isSuccess="false" xmlns:ns2="urn:core_2_6.platform.webservices.netsuite.com"> <ns2:statusDetail type="ERROR"> <ns2:code>USER_ERROR</ns2:code> <ns2:message>Invalid record reference.</ns2:message> </ns2:statusDetail> </ns2:status> </writeResponse> </addResponse> </soapenv:Body> </soapenv:Envelope>
Anyone see the problem?