Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
RESTlet URLs
A few weeks ago we got moved to a new data center.
We did not make any changes to our RESTlet URLs, and they all continued to work. So we were hitting URLs like https://rest.netsuite.com/app/site/hosting/restlet.nl?script=123&deploy=1
Everything was working until last night, when all of our RESTlet integrations started failing with a 401 "Unauthorized".
We realized the URL endpoints have changed, so now they look like this: https://rest.na3.netsuite.com/app/site/hosting/restlet.nl?script=123&deploy=1
Prior to our account migration, we went through a big exercise to avoid hardcoded URLs within Netsuite. The theory being that we could be dynamically switched from the na3 datacenter at any time. So are we really supposed to be using hardcoded na3 URLs in our RESTlet integrations? What is the best practice here to avoid future disruption?