Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
errors with nlapiResolveURL?
I figured as long as I was writing a note to support I'd try picking the forum's brains as well. Basically I'm trying to call nlapiRequestURL() to hit a CGI script on the server. Because there's some kind of character limit on how long that string can be we're opting to try and pass the data as headers. We know that this is at least possible as we've done it once before in another script. So my question becomes, is there some reason why nlapiResolveURL would work in a library script but NOT in a User Event onSubmit function?
I do manage to get a line of debug (the first nlapiLogExecution call below) from directly before I attempt to fetch the URL, but I get an unexpected error on the line when I do.