How to generate an Authentication token while deploying changes in the Elbrus version.

When we’re trying to deploy the development code in the NetSuite for SCA Elbrus for both accounts i.e. Sandbox and Production. We’re getting this error many times if we don’t have the existing token in our terminal most of the time when we’re deploying the first time. Still, we change the role from administrator to… Continue reading How to generate an Authentication token while deploying changes in the Elbrus version.

JavaScript exception handelling for exception “Invalid code point”

The JavaScript exception “Invalid code point” occurs when NaN values, negative Integers (-1), non-Integers (5.4), or values larger than 0x10FFFF (1114111) are used with String.fromCodePoint(). Message:RangeError: Invalid code point -1 (V8-based) RangeError: -1 is not a valid code point (Firefox) RangeError: Arguments contain a value that is out of range of code points (Safari) What Went… Continue reading JavaScript exception handelling for exception “Invalid code point”

Solution for ‘Impossible to parse backend error – Response’.

We can solve the ‘Impossible to parse backend error – Response’ error by changing the manifest vendor name or changing the extension vendor name from record types. This error happening because of the vendor name is case sensitive. So we can use only same vendor name for all extensions. If we created new extension with… Continue reading Solution for ‘Impossible to parse backend error – Response’.

Resolve Script Error:” Invalid custbody_xxx Reference Key xxx When Setting the Field Value of a List/Record Custom Field”

Error is thrown when the value that the user is trying to set cannot be found among the IDs collection of that record or the field to set has a different type than the value to set to. Solution For example: Sales Order is generated from Case record using script. A custom field Linked Case… Continue reading Resolve Script Error:” Invalid custbody_xxx Reference Key xxx When Setting the Field Value of a List/Record Custom Field”

How to solve the error “SyntaxError: JSON.parse: bad parsing” in javascript

The JavaScript exceptions thrown by JSON.parse() occur when string failed to be parsed as JSON. The Error Mesages: SyntaxError: JSON.parse: unterminated string literal SyntaxError: JSON.parse: bad control character in string literal SyntaxError: JSON.parse: bad character in string literal SyntaxError: JSON.parse: bad Unicode escape SyntaxError: JSON.parse: bad escape character SyntaxError: JSON.parse: unterminated string SyntaxError: JSON.parse: no… Continue reading How to solve the error “SyntaxError: JSON.parse: bad parsing” in javascript

How to resolve the SyntaxError: “use strict” occured in Java Script

The JavaScript exception “’use strict’ not allowed in function” occurs when a “use strict” directive is used at the top of a function with default parameters, rest parameters, or destructing parameters. Error: SyntaxError: Illegal ‘use strict’ directive in function with non-simple parameter list (V8-based) SyntaxError: “use strict” not allowed in function with default parameter (Firefox) SyntaxError: “use strict” not… Continue reading How to resolve the SyntaxError: “use strict” occured in Java Script

How to resovle the “ReferenceError: event is not defined” in javaScript events

This error is thrown when you try to access a variable that is undefined or is outside the current scope. If you’re getting this error when using the event handling system, make sure you use the event object passed in as a parameter. Older browsers like IE offer a global variable event, and Chrome automatically… Continue reading How to resovle the “ReferenceError: event is not defined” in javaScript events

Type Error: Cannot read the property ‘files’ of undefined

The error happens in the terminal when deploying the theme/Extension. The reason for the error message is due to the complex file structure of the theme. gulp theme:deploy and gulp extension:deploy commands use SuiteScript Restlet service requests to upload the theme and extension development files to the NetSuite file cabinet. And, SuiteScript’s governance model limits… Continue reading Type Error: Cannot read the property ‘files’ of undefined

How to remove the Blue bar while clicking.

In Websites sometimes we see a blue bar or blue shadow showing while we’re clicking on any button or any link on the website. It’s a CSS default issue because sometimes we can see this issue in Mobile devices, and Ios devices, and even sometimes we have seen this issue on the desktop of both… Continue reading How to remove the Blue bar while clicking.

How to fix a Restlet request error in Postman while testing

Check if the Restlet URL used is correct compared with the Restlet script record ‘External URL link’ field value. Check if the Request type is correct(GET/POST/PUT…) Check if correct values are used for consumer key, consumer secret, access token, and token secret.We can create a new integration in NetSuite through navigation: SetUp > Integration >… Continue reading How to fix a Restlet request error in Postman while testing