Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
searchMoreWithId failing
I have written some PHP code which performs the following actions:
Search for a collection of InventoryItems with a pagesize of 100
Iterate over the returned items, performing searches for details such as parent items, attribute lists, etc. and write results to a local database.
When I then query for the next page using searchMoreWithId, Netsuite responds with a fault message that says Invalid searchMore operation. Please make sure that you have had a successful search operation before you can perform any searchMore operation. What is strange is that this appears to occur after 2 or even 3 successful iterations.
I have verified that my SearchId and Page parameters are valid. Does Netsuite not permit you to reference an "old" query? I.e. I make query A, then I make query B, I can't searchMoreWithId on query A any more?