Fix Power Automate Pagination Errors Retrieving Oracle Records
Question details
A user is experiencing pagination errors in Power Automate when retrieving a large volume of records from an on-premises Oracle database.
- Product
- Microsoft Power Automate
- Device & OS
- not provided
- Scenario
- Retrieving more than 35,000 records from an on-premises Oracle database via a data gateway with a pagination threshold set to 40,000.
- Observed behavior
- The flow reports an invalid response error because the nextLink or odata.nextLink value is repeated while the value array contains no actual items.
Ensure you have access to your connector configuration, Oracle query details, and the version information for your on-premises data gateway before proceeding.
Consult the Microsoft Power Automate Community
Since this involves advanced connector behavior and API response formatting, posting detailed diagnostics to the official Microsoft community is the most effective way to resolve the loop error.
The repeated non-empty nextLink accompanied by an empty value array generally indicates a breakdown between the Oracle connector's pagination logic and the gateway's response payload. Resolving this often requires targeted adjustments to the query or connector behavior guided by Microsoft engineers.
Collect the complete error message from your flow run, your specific connector configuration, and the exact pagination threshold settings applied to your action.
Note the exact version of your on-premises data gateway and document the behavior of the Oracle query or stored procedure being executed.
Prepare a safe, sanitized snippet of the raw JSON response showing the empty value array alongside the repeated odata.nextLink parameter.
Navigate to the official Microsoft Power Automate Community forum, create a new thread detailing the issue, and provide all gathered diagnostic information for expert review.
Looking for a reliable and lightweight Office suite? Try WPS Office
While troubleshooting complex Microsoft Power Automate flows, you might also need a fast, efficient, and cost-effective daily productivity suite. WPS Office offers a complete set of office tools that are fully compatible with mainstream document formats.
- 1. Download WPS Office: Visit the official WPS website and download the free installer for your operating system.
- 2. Install the software: Run the installer and follow the on-screen instructions to complete the setup process in just a few minutes.
- 3. Open and edit documents: Launch WPS Office to immediately start creating, opening, or editing your Word, Excel, and PowerPoint files with full format compatibility.

Frequently Asked Questions
Why does Power Automate throw an odata.nextLink error when retrieving records?
This error typically occurs when the API or database connector returns a pagination token indicating more data is available, but the accompanying data array is completely empty. This mismatch creates an infinite loop or an invalid response state within the flow.
What is the maximum pagination threshold in Power Automate?
By default, the maximum pagination threshold for many standard connectors in Power Automate is 100,000 items, though actual limits and performance can vary based on the specific premium connector, API limitations, and data gateway configuration.
How do I change the pagination settings in a Power Automate flow?
Click the three dots (ellipsis) on your specific action block, select 'Settings', toggle the 'Pagination' feature to 'On', and input your desired threshold limit in the provided field before clicking 'Done'.




