Pagination Not Working for HTTP Request
I’ve learned that pagination is a hot topic, and I’m hitting the wall with what seems a simple case.
Context: Fetching data via API from Clockify Detaliled Report. My connection to the API is good as I’m able to retrieve the first page of data (max 1000 entries) but can’t get to move to the second page using n8n and the Pagination in HTTP request node. I’ve successfully implemented the pagination in Python Notebook, so I’m confident the request JSON is correct.
Current implementation:
Gemini suggested a sound implementation using the following settings
-
JSON Body (see below)
remove
pagefrom request body as specified by Gemini and n8n Doc
{
“dateRangeStart”: “{{ Start }}”,
“dateRangeEnd”: “{{ End }}”,
“detailedFilter”: {
“pageSize”: 1000,
“sortColumn”: “DATE”,
“sortOrder”: “ASCENDING”
}
} -
Pagination mode: Update Parameter in each Request
-
Parameter Type:
Body|Query// tested with each, same outcome -
Parameter Name:
detailedFilter.page// matches Clockify API JSON requirement. -
Parameter Value:
{{ $pageCount + 1 }} -
Pagination Complete when: Other
-
Pagination Complete Expression:
{{ $json.timeentries.length < 1000 }} -
First results page shows the number of timeentries: +2100
-
First results page contains the first 1000 timeentries
-
Pageparameter not present in the browser console. (unsure if this is expected or not)
I can execute my node and get my first 1000 entries but there’s no sign of pagination at all.
No errors, just no pagination. The node output shows 1 Item passed to next node, however based on the +8000 timeentries in my data and max page size of 1000 I expect 9 pages and therefore 9 items passed to the next node.
Very simple workflow until now.
I appreciate your help with this. Been stuck for 2 days now.
Thanks in advance,
MA
Information on your n8n setup
- n8n version: Version 1.118.1
- Running n8n via: Docker, localhost
- Operating system: Windows



