@nomanali31 Based on the issue you encountered, we recommend calling controller.nextPage initially to resolve it.
controller.nextPage