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.
Can't debug Restlet
I cannot seem to debug a restlet. I keep getting the error:
[CODE]
INVALID_HOST
Invalid host debugger.netsuite.com. Please send RESTlet requests to https://rest.netsuite.com/.
[/CODE]
Even though my deployment list the external URL as:
https://debugger.netsuite.com/app/site/hosting/restlet.nl?script=58&deploy=1 and its status is "Testing"
I log into debugger.netsuite.com, click to use an existing script and it provides me with a cookie. I add this cookie to my HTTP request header and am still returned the above error.
The request header I'm sending is:
[CODE]
Cookie: NS_VER=2012.1.0; JSESSIONID=$session_id
[CODE]
INVALID_HOST
Invalid host debugger.netsuite.com. Please send RESTlet requests to https://rest.netsuite.com/.
[/CODE]
Even though my deployment list the external URL as:
https://debugger.netsuite.com/app/site/hosting/restlet.nl?script=58&deploy=1 and its status is "Testing"
I log into debugger.netsuite.com, click to use an existing script and it provides me with a cookie. I add this cookie to my HTTP request header and am still returned the above error.
The request header I'm sending is:
[CODE]
Cookie: NS_VER=2012.1.0; JSESSIONID=$session_id
0