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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
SuiteScript: How to resolve https.request GET method with response code 400?
Hi,
I have a userevent script that call a third party API to get info returned. All that I send is a uuid in JSON format {
caseuuid: "c18f62c7-e5ea-4808-ab78-a4d20a08dbc0"
}
The response is posted below.
{
type: "http.ClientResponse",
code: 400,
headers: {
Age: "0",
age: "0",
"Cache-Control": "public, max-age=0, must-revalidate",
"cache-control": "public, max-age=0, must-revalidate",
"Content-Length": "12",
"content-length": "12",
"Content-Type": "application/json; 0