https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
s

Simon

03/28/2022, 3:00 PM
I have a problem with Restlet and I'm not sure what to do. They said that the restlet should return "Can you please check to see if the Access-Control-Allow-Origin header is set on the response from your server" I'm thinking it rather something to do with the screen below. Any idea ?
b

battk

03/28/2022, 3:03 PM
sounds cors related
restlets are supposed to be used in server to server integrations
you will encounter problems with cross origin requests restrictions if the request is made from a browser
s

Simon

03/28/2022, 3:08 PM
We never had that problem with Cordova 10.0. It's started to happen we moved to Cordova 11.0. I would like to stay with Cordova 11.0. I hope Netsuite can return Control-Allow-Origin, if not we will go back to Cordova 10.0
b

battk

03/28/2022, 3:10 PM
you have no control of headers in restlets
or honestly that header in suitelets