Hi, is anyone getting Client Script error on Leadi...
# suitescript
a
Hi, is anyone getting Client Script error on Leading account with NS 2020.2 Failed to load resource: the server responded with a status of 403
l
put only simple
console.log('test')
syntax in your script and verify if is NetSuite issue or script syntax issue.
a
It is a script running on more than 15 account and never modified for more than a year. The script is working just fine on Trailing accounts (2020.1), it just stopped working on a Leading account migrated to 2020.2 Also the console doesn't show any details and the script itself is not doing anything in the case I'm testing. The script code starts by checking if the context is EDIT, and my test is done on a CREATION, so the pbl is not the execution of the script, the problem is that netsuite is not able to load it from the beginning : and to make things even more complicated, the script does only require some standard Netsuite module.
define(['N/record', 'N/ui/dialog'],
l
can other client script were successfully load and execute? just wondering is this happen for every client script or just one
a
I mean all client scripts are not working and with the same error
l
Oh...I don’t have any ideas now ;(
a
Thanks @Lincecum 😉
r
MIght be time to log a support case. might be an overall 2020.2 issue
a
I already logged a support case and like always they are taking their time asking wrong questions. I did pressure them to create a defect asap.