This notice is intended for customers who are using SuiteScript functions for making outbound HTTP(s) requests in an unauthenticated client-side context. Affected users must hide such requests behind a suitelet, available without login.
What is Changing?
Effective March 13, 2023, the usage of the following SuiteScript functions will be forbidden in an unauthenticated client-side context:
- SuiteScript 1
- nlapirequestURL()
- SuiteScript 2
- N/http: request(), get(), post(), put(), delete()
- N/https: request(), get(), post(), put(), delete()
The only exception is inbound (same domain) requests.
Recommended Actions
Identify which scripts are affected. This involves checking suitelets available without login and their dependencies (particularly client scripts). Look for the usages of the affected functions there.
- If the requested URL is relative (e.g. /app/site/...), it can be skipped; this qualifies as an inbound request.
- If the request only happens in the server environment, it can be skipped. If you are unclear, consider the request affected.
Contact technical support for hints specific to your company if needed.
Once you identify the affected HTTP(s) requests, hide them behind suitelets available without login, which you can then invoke with the N/https#requestSuitelet() function. For more information and relevant code examples, see the following help topic:
If you have any questions or need assistance, please contact NetSuite Customer Support.