<@U9N5J06UB> that error means you're not using the...
# suitetalkapi
s
@lleclerc_zlab that error means you're not using the right WSDL for the account. are you trying to access SB or Prod?
l
Using SB, will try with the sandbox url, thanks !
Switching to "https://webservices.sandbox.netsuite.com/wsdl/v2017_2_0/netsuite.wsdl" did help, now I get "InvalidCredentialsFault: Could not determine customer compid"
I am using the right account credentials and admin role: RecordRef ref = new RecordRef(); ref.setInternalId("3"); passport.setRole(ref); Would you have an idea for this one ?
s
Are you sure you are setting the account id?
l
nlapiGetContext().getCompany() which is the account id with "_SB1" : passport.setAccount("1234567_SB1");