NETSUITE Integration: An unexpected error occurred. Error ID: XXXXXXX

NETSUITE Integration: An unexpected error occurred. Error ID: XXXXXXX

I was struggling with the “UNEXPECTED_ERROR, An unexpected error occurred. Error ID” error received while using the Netsuite Webservice endpoints.

The error looked something like so:

<soapenv:Body>
    <addResponse xmlns="urn:messages_2014_2.platform.webservices.netsuite.com">
      <writeResponse>
        <platformCore:status xmlns:platformCore="urn:core_2014_2.platform.webservices.netsuite.com" isSuccess="false">
          <platformCore:statusDetail type="ERROR">
            <platformCore:code>UNEXPECTED_ERROR</platformCore:code>
            <platformCore:message>An unexpected error occurred. Error ID: ib2yvvg81jtllfrjvfej</platformCore:message>
          </platformCore:statusDetail>
        </platformCore:status>
      </writeResponse>
    </addResponse>
  </soapenv:Body>

Most of the time this kind of errors are related to Custom forms(Form Customization) because you have a wrong reference or because you have deleted an element from your custom form and you are still using it/them or same as me because I was using a custom field element(Custom Entity Field) as a “Multiple Select” but it was set-up as a “List/Record” type and How Did I find what was the problem? I just had to start discarding some custom fields before the form submission until I figured it out that when I was selecting a value for this field/element then I was receiving this “UNEXPECTED_ERROR” error.

That’s it in this short tip about Netsuite errors.

In my personal case I just had to edit change the custom field record going to:

Let me know if you found this helpful, thanks for reading.
H.

No Comments

Post A Comment