Hi, suddenly get the following error while load re...
# suitescript
g
Hi, suddenly get the following error while load record
var customer = record.load({
                
type: 'customer',
                
id: customerNSId,
                
isDynamic: false
            
});
"type":"error.SuiteScriptError","name":"UNEXPECTED_ERROR","message":"missing : after property id (NLRecordScripting.scriptInit$lib#52)","stack":["loadRecord_impl(N/recordImpl)",
anyone having the same issue?
b
usually those kind of errors are from someone uploading a script with a syntax error
look through user event script (especially before load user event scripts) for syntax errors
g
Just talked to NS support, I think its from NS. same error while loading customer record in browser console
And also from third party SOAP integration
Got so many issues with NS recently, SFTP timeout errors haven't been addressed yet 😫
b
again, check your user event scripts (and workflows)
disable all the workflows and user event scripts deployed on customers
g
@battk god like. it is workflow. don't know how it stop loading record
b
thats the type of error you get from errors during before load
g
can workflow formula use javascript? first time to see the bottom 2
b
for the client script related triggers, yes
g
thank you battk, you are the man