Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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>