# Pagination on request feature

**URL:** <https://community.n8n.io/t/pagination-on-request-feature/42878>\
**Category:** Questions\
**Tags:** node, http-request\
**Created:** [March 19, 2024, 2:12pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878 "2024-03-19T14:12:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Denkard](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/denkard/32/37097_2.png) [@Denkard](https://community.n8n.io/u/Denkard)\
**Post date:** [March 19, 2024, 2:12pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/1 "2024-03-19T14:12:28Z")

</div>

## Describe the problem/error/question

When I try to request more than one page using the “pagination” feature, I always get the first page as a response. I’m not having issues with the expressions (e.g., $response and $pageCount). It’s working fine with a script in Python and in Insomnia.

## What is the error message (if any)?

[](https://imgur.com/uJS4nve)

## Please share your workflow

```auto
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

```

## Information on your n8n setup

- **n8n version:** 1.31.2
- **Database (default: SQLite):** default
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):** default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):** npm
- **Operating system:** windows 10 22H2

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [March 19, 2024, 2:45pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/2 "2024-03-19T14:45:20Z")

</div>

Hey @Denkard,

Welcome to the community 🙌

Can you try removing the initial page option from the request and see if that helps?

---

<div class="post-metadata">

**Author:** ![Denkard](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/denkard/32/37097_2.png) [@Denkard](https://community.n8n.io/u/Denkard)\
**Post date:** [March 19, 2024, 3:27pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/3 "2024-03-19T15:27:53Z")

</div>

Hey @Jon , thank you!

I tried your guidance, but the error persists the same. I re-ran some tests regarding when to stop pagination but apparently that’s not the issue either.

 ![brave_cpUv3eRmBU](https://europe1.discourse-cdn.com/n8n/original/3X/b/5/b54e3fcd5ef5c312e9f9ff2b4878387bd83b4faa.jpeg)

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [March 20, 2024, 12:44pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/4 "2024-03-20T12:44:10Z")

</div>

The only other thing I can think of is it will be with the when to stop. If you set it to stop after 2 do you get different results?

---

<div class="post-metadata">

**Author:** ![Denkard](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/denkard/32/37097_2.png) [@Denkard](https://community.n8n.io/u/Denkard)\
**Post date:** [March 20, 2024, 2:01pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/5 "2024-03-20T14:01:09Z")

</div>

Hi @Jon, thank you for the support.

None of my attempts worked; I had to handle pagination using other nodes.

I also tried what you suggested, without success.

 ![brave_sZNOvwJ4Hr](https://europe1.discourse-cdn.com/n8n/original/3X/1/2/12e4ff6781b36dd3a9942e9abf94e32c43df5305.jpeg)

It seems like the controller isn’t updating the parameter for the next call, so it fetches the first page every time. I just updated to version 1.33.1, and the error persists.

---

<div class="post-metadata">

**Author:** ![Jon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jon/32/40174_2.png) [@Jon](https://community.n8n.io/u/Jon)\
**Post date:** [March 21, 2024, 2:38pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/6 "2024-03-21T14:38:24Z")

</div>

Yeah that looks like the page isn’t updating, I have just tested using the GitHub API using a page option and that appears to be ok (example below), I am not sure why that one isn’t working though.

---

<div class="post-metadata">

**Author:** ![Denkard](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/denkard/32/37097_2.png) [@Denkard](https://community.n8n.io/u/Denkard)\
**Post date:** [March 21, 2024, 10:32pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/7 "2024-03-21T22:32:21Z")

</div>

Hey @Jon!

Reinstalling n8n from scratch seems to have resolved the issue, and everything is now working normally, including the same node that was re-imported. I have no idea why it wasn’t working. Thank you for your time and effort.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 28, 2024, 10:32pm UTC](https://community.n8n.io/t/pagination-on-request-feature/42878/8 "2024-03-28T22:32:51Z")

</div>

Closed on March 28, 2024, 10:32pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
