RE: not able to access Restlet script thru Postman

Need help in Netsuite, I just deployed a REStlet script for testing purpose in sandbox instance, when I try to call this script nothing worked,  An unexpected error has occurred. Please click <a href=”javascript:window.open(‘/app/crm/support/nlcorpsupport.nl?l=T&type=bug&ticket=kpp0b531dqg7w8pym510’, ‘Error’,’scrollbars=yes,toolbar=no,width=800,height=700′);void(0)”>here</a> to notify support and provide your contact information.</td></tr>

Script external URL : https://XXXXXX-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=xxx&deploy=1

there are some already deployed REStlet scripts running in the same instance, I was able to access that with the same params and headers script external URL : https://xxxx-sb1.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=xxx&deploy=1 , but I was able to access with this URL too:  https://xxxxxx.restlets.api.netsuite.com/app/site/hosting/restlet.nl?script=xxx&deploy=1

 

 

stalinathavan Rookie Asked on June 9, 2021 in SuiteScript.
Add Comment
1 Answers

Share how your script deplyment is setup.

If this is your first restlet, then you need to make sure you setup the deployment’s status and audience correctly.

Intermediate Answered on June 9, 2021.

Deployment audience and status looks correct. Check that nothing in the script is wrong by using the normal url. If that works, you should make sure that your tokens and postman configuration works with other restlets on your sandbox . If all else fails, delete your restlet and make a new one.

on June 9, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.