Hi, I’m trying to debug a SOAP integration (highto...
# integrations
j
Hi, I’m trying to debug a SOAP integration (hightouch -> NS) with postman, but I get the “You have successfully connected to the NetSuite SOAP Server” message every time. I followed these steps: https://www.zuar.com/blog/netsuite-api-exploring-soap/ Any one experienced something similar before?
b
its what you gets when you fail to post to the the endpoint and instead do a normal https request like a GET
j
how can I trace the error? the integration record shows nothing
b
there wouldnt be
your request is wrong enough thats its not reaching the soap server
again, the usual is that you are doing a GET instead of a POST
there are other causes, but they are all variations of not actually doing SOAP correctly
j
I double checked it is a POST
b
whats the url
j
b
did you get the url from the sandbox accounts
company urls?
as an aside, you should be worried if your integration is actually using 2019.2, that is an unsupported endpoint
there is no support for any problems that occur there
j
I did get the url from the company urls
and yeah, regarding the endpoint, I’ve raised my concern as well, alas I don’t manage it
b
go make a new empty request
and post to endpoint without using an environmental variable
j
directly to the url, no body
b
go find the postman console and share what the request and response look like
j
POST / HTTP/1.1 SOAPAction: upsertList Content-type: text/xml User-Agent: PostmanRuntime/7.40.0 Accept: / Cache-Control: no-cache Postman-Token: 8c42ca82-11c6-47e0-9f59-f354f50cb3e0 Host: {{account}}-sb1.suitetalk.api.netsuite.com Accept-Encoding: gzip, deflate, br Connection: keep-alive Content-Length: 101381 HTTP/1.1 301 Server: AkamaiGHost Content-Length: 0 Location: https://{{account}}-sb1.suitetalk.api.netsuite.com/services/NetSuitePort_2019_2 Date: Tue, 05 Nov 2024 233238 GMT Connection: close Akamai-GRN: 0.1bd7dd17.1730849558.4bedd7cd
b
301 status code means you need to be extra sure of that url
it is now extra likely that the url is wrong
j
thank you so much for your help, I’ll double check that URL
b
if its not a straight copy and paste from the sandbox company urls, then you risk not knowing the difference between the account id and the url
sandbox urls do not match account ids