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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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