Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
UNEXPECTED_ERROR When trying to delete files
Ok, I'm trying to delete file and I get an UNEXPECTED_ERROR code back when I either do a delete() or deleteList(). I verified that the files do exist, and I'm passing the correct internal id, still getting that error. It's not giving me anything to go with and the call is exactly what's needed.
Here's the request SOAP message for a simple delete:
<?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:Body><delete xmlns="urn:messages_2_6.platform.webservices.netsuite.com"><baseRef internalId="178" type="file" xsi:type="ns1:RecordRef" xmlns:ns1="urn:core_2_6.platform.webservices.netsuite.com"/></delete></soapenv:Body></soapenv:Envelope>