Trying POSTMAN for the first time. I'm able to con...
# suitetalkapi
j
Trying POSTMAN for the first time. I'm able to connect to my Netsuite instance (confirmed from the 'Login Audit', but my restLet isn't firing. I get "error message: That Suitelet is invalid, disabled, or no longer exists." I've verified that the URL is correct from the script deployment.
a
you said you were targeting a restlet, but the error response refers to a suitelet that suggests something is very wrong 🙂
s
Also, you'd be better off posting that to the #C29HQS63G channel if it's not specifically suitetalk you're referring to
true news 1
m
The URLs for RESTlets and Suitelets are very different. Different host and restlet.nl vs scriptlet.nl
j
I verified that I'm using the restlet URL: https://{{account_id}}/app/site/hosting/restlet.nl?script=1634&deploy=1 I'll keep trying different things. I've tried 3 or 4 different tutorials with the same results so not sure what I'm doing wrong yet. Thanks for the responses
m
Are you using https://{{account_id}}.restlets.api.netsuite.com/?
j
yes, I copied the external URL from the script deployment. I was just protecting information, but noticed that I left a few pieces out. But confirmed that it's the restlets.api URL
m
That is very weird, then, that the error message would spell out Suitelet like that.
j
i had a space at the end of the URL in POSTMAN. doh! Thanks for the responses everyone.
✅ 2