Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
PHP Toolkit for SuiteTalk - unable to even log in...
I just downloaded the PHP Toolkit for SuiteTalk (r3-beta) and set it up on a local server. I'm experienced with PHP, but new to WSDL.
I tried to use the provided script 'sample_search_items.php', but I am getting authentication errors...
Here's the contents of my login_info.php
[PHP]
$myNSclient = new nsClient( nsHost::live );
$email = "myNSemailaddress";
$password = "myNSpassword";
$account = "999999"; // our six digit NS account number (first digit is a zero)
$role = "1002"; // I've also tried commenting this line out to use my 'default' role internal ID (which is # 1002)
[/PHP]
Here's the error I'm getting back in the browser:
I tried to use the provided script 'sample_search_items.php', but I am getting authentication errors...
Here's the contents of my login_info.php
[PHP]
$myNSclient = new nsClient( nsHost::live );
$email = "myNSemailaddress";
$password = "myNSpassword";
$account = "999999"; // our six digit NS account number (first digit is a zero)
$role = "1002"; // I've also tried commenting this line out to use my 'default' role internal ID (which is # 1002)
[/PHP]
Here's the error I'm getting back in the browser:
0