Hi All, I've written a suitelet that creates a se...
# general
g
Hi All, I've written a suitelet that creates a search and returns required data from a transaction record in the form of an object. But, I keep getting the following text after my data object everytime I send a request through postman. <!-- 1, 944 s: 10% #310 cache: 0% #1 --> <!-- Host [ a43.prod.sv ] App Version [ 2021.1.0.168 ] --> <!-- COMPID [ 3959483_SB1 ] EMAIL [ onlineformuser@3959483-sb1.com ] URL [ /app/site/hosting/scriptlet.nl ] Time [ Sun Sep 26 20: 46: 27 PDT 2021 ] --> <!-- Not logging slowest SQL --> I don't understand what does it mean and should I do to avoid it. Can anyone please help me on this
w
If you are not setting the return type to "application/json" specifically Netsuite will add that in some cases. Like when the data that you are returning contains a "<" or ">" for instance.
r
But @Watz but we have set the headers to type to application/json.. i dont understand why is this stuff showing
w
Try in #C29HQS63G and post some of your code that does that.
Ah, I see you have posted in #C29HQS63G now. 👍