Monday, April 22, 2019

getPostingTransactionSummaryResponse > Error: Page out of bounds 2 > 1

Problem: User is experiencing the following and error and would like to know what is the root cause:


Error occurs because the value of 'pageIndex' is greater than the actual number of pages in the initial search request. To avoid the error, the user needs to set the pageIndex to 1 so it will return the number of pages returned in the response.

Sample initial getPostingTransactionSummaryResponse result (pageIndex = 1)

Notice that totalPages is equal to 1, thus user must not set the pageIndex into a value greater than 1.

No comments:

Post a Comment