Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
HTTPS call to Suitelet returning Login Page
Hello,
I am trying to call a suitelet from within a UE script and I'm running into some weird errors. I generate the url by using url.resolveDomain and url.resolveScript and then use https.get to make the call. The response returned is the NetSuite login page with the message "Your session has timed out. Please log in again." I have tried everything I can think of to get this to work, using http instead of https, running as admin, making available without login and deploying to all roles. Is there something I'm missing? anyone have any ideas?
Cheers, Jamie.
0