Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Pagination Error when retrieving over 40000 records from on-prem Oracle database using data gateway

(1) ShareShare
ReportReport
Posted on by 2

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

  • Suggested answer
    Michael E. Gernaey Profile Picture
    43,218 Super User 2025 Season 1 on at
    Pagination Error when retrieving over 40000 records from on-prem Oracle database using data gateway
    Hi,
     
    Most of the time you should grab 5K rows in a page or less, not 35000.
     
     But also what connector are you using? 
    1. Did you turn on Pagination
    2. What are the Connectors limit (you can look that up)
    3. How many rows did it say it returned before the error?
     
    Again trying to pull down 40K at a time, isn't going to be reasonable for the flows or apps.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >