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.
Error fetching http headers
I keep getting an error from the NetSuite API when trying to do a search with the PHP Toolkit. Everything is set up correctly, and I am able to make the exact same call on other sites. When calling
$itemSearch = new nsComplexObject("ItemSearchBasic");
$itemSearch->setFields(
array("isOnline" => array("operator" => "is", "searchValue" => "true"))
);
$searchResponse = $myNSclient->search($itemSearch);
It returns an "Error fetching http headers"
NetSuite says to change the default_socket_timeout in php.ini to 200 in order to fix this. No luck. I even tried setting it to 3600 without any change.
Any help would be greatly appreciated.
0