I am trying to retrieve over 40000 records from an Oracle database on-prem using the data gateway. I am getting pagination error. I have set the pagination threshold to 40000 to cover for all items, and my Odata query is set to query top 35000 records. Any suggestions on how can I get past the following pagination error? here is the error:
The response is not a valid paginated response. The paginated response should not have the same non-empty 'nextLink' or 'odata.nextLink' property from the previous page when there are no items in the 'value' property