Have restlet script which works 99.5% of the time ...
# suitescript
m
Have restlet script which works 99.5% of the time however have sometimes get an unexpected error {"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":null,"id":"51d178ad-7eaa-4275-946a-62461a21a698-2d323032332e31312e3138","stack":["anonymous(N/serverRecordService)","doPost(/SuiteScripts/CreateIR.js:138)"],"cause":{"type":"internal error","code":"UNEXPECTED_ERROR","details":null,"userEvent":null,"stackTrace":["anonymous(N/serverRecordService)","doPost(/SuiteScripts/CreateIR.js:138)"],"notifyOff":false},"notifyOff":false,"userFacing":false} Question - what are the causes for this? for context it's a create item receipt from a PO and postrequest payload coming in has a few values that need to be populated on the PO once all the item receipts have been successfully created..
b
anything, its the error you get when netsuite doesnt have a more specific error message
you will need to contact support, and provide the error id to hopefully get more specific information
w
@battk have you ever had any luck with providing the error Id to NS support? I got really happy when it started to appear, so I've referenced it several times when in contact with. But they don't even acknowledge that they got that error id and still ask for script id and timestamps.
b
depends on the support rep
facepalm 1