@mbucklaew thank you for the tip, wont work in my case, I am using it from a Angular Page inside NetSuite, since it is a client side script, I dont want to put in any credentials, I use the credentials from netsuite session. I made a suitelet with the same code and looks like will work