Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
getAsyncResult operation returns UNEXPECTED_ERROR code for job with finishedWithErrors status
I'm doing an asyncUpsertList operation via SuiteTalk with a single employee record. The checkAsyncStatus operation returns status finishedWithErrors for that job ID. I have no idea what the error is. The getAsyncResult operation for that job ID returns a cryptic UNEXPECTED_ERROR code:
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2018_1.platform.webservices.netsuite.com"> <platformMsgs:nsId>ASYNCWEBSERVICES_TSTDRV877548_0204201911703781711502894574_e</platformMsgs:nsId> </platformMsgs:documentInfo> </soapenv:Header> <soapenv:Body> <upsertListResponse xmlns="urn:messages_2018_1.platform.webservices.netsuite.com"> <writeResponseList> <writeResponse> <platformCore:status isSuccess="false" xmlns:platformCore="urn:core_2018_1.platform.webservices.netsuite.com"> <platformCore:statusDetail type="ERROR"> <platformCore:code>UNEXPECTED_ERROR</platformCore:code> <platformCore:message>An unexpected error occurred. Error ID: jrqsukr11oor74udmfyhr</platformCore:message> </platformCore:statusDetail> </platformCore:status> <baseRef xsi:type="platformCore:RecordRef" type="employee" externalId="CUST12345" internalId="266324" xmlns:platformCore="urn:core_2018_1.platform.webservices.netsuite.com"/> </writeResponse> </writeResponseList> </upsertListResponse> </soapenv:Body> </soapenv:Envelope>
0