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!
406 error with https.get request
Hello,
I am trying to create a userevent script where when you save a sales order, it sends information to our JIRA instance to create a task. Well I kept getting 406 error, so I went more basic and created a script with just a GET for easier troubleshooting. I am still getting the same 406 error, I have also tested the same script with International Space Station open API and I am able to get a 200 return code. https://api.wheretheiss.at/v1/satellites/25544/tles
I have also tried to include the ACEPT header application/json but I still get the same error. I am not sure what I am doing wrong, and I have tested this on POSTMAN and I have no issues.
Tagged:
0