Hi,
What’s the relationship between user id and results returned by savedSearchAllFields($savedSearchId, $userId, $page)?
For example, I have a saved search whose columns are
Which results in the following saved search in the UI
Yes, it happens on all of them. That particular saved search only has one result row.
NBD: I’ll set $userId != 1
I forgot to describe the genesis of this question; which was a mystery to me why the code ran successfully in my sandbox (against $userId=1), but failed in production. Research into that discrepancy uncovered the userId dichotomy.
Is the Sandbox and Production servers connected to the same Infusionsoft Account?
If so, is there something in your code filtering the results? Or, is there some sort of PHP / Configuration difference? If it was PHP related you would get errors reported.
Not much more I can add otherwise. If you still stuck then raise a Support Ticket.