# HTTP Pagination Troubleshooting

**URL:** <https://community.n8n.io/t/http-pagination-troubleshooting/35331>\
**Category:** Questions\
**Tags:** http-request\
**Created:** [January 15, 2024, 6:10pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331 "2024-01-15T18:10:16Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzrts](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jzrts](https://community.n8n.io/u/jzrts)\
**Post date:** [January 15, 2024, 6:10pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/1 "2024-01-15T18:10:16Z")

</div>

Hi,

Does anyone have advice how to troubleshoot the HTTP Request node pagination “complete expression”?

I’ve provided a completion expression that evaluates to true/false depending on whether the current response includes a “next” page link.

However when executing the node, it acts as if the expression always returns true and stops at the first page. It doesn’t make any additional requests, even though the response does contain a next URL and the completion expression does evaluate to false (at least in the UI preview).

If I set the “complete expression” to “{{ false }}” then it does make more requests, however each request is a repeat of the original one. Even though the node’s “next URL” field contains “page=2” in the UI, when executing, it just keeps replaying the same original request until it reaches the “max pages” limit.

It seems like the next URL and completion expressions operate on different $response data at execution time vs. the UI preview. In the UI, it looks like the evaluated expressions should lead to getting additional pages, but at run time that doesn’t happen.

Is there a way to console.log or otherwise inspect how the expressions are evaluating at run time? Or other ideas how to troubleshoot this?

Thanks!

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/2/d/2d0d2a9894dba654f3632d84a93d99e674d6d50b.png)

n8n Version 1.22.6, AWS EKS, Amazon Linux 2

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [January 15, 2024, 6:10pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/2 "2024-01-15T18:10:17Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

---

<div class="post-metadata">

**Author:** ![jzrts](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@jzrts](https://community.n8n.io/u/jzrts)\
**Post date:** [January 15, 2024, 6:11pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/3 "2024-01-15T18:11:45Z")

</div>

n8n Version 1.22.6, AWS EKS, Amazon Linux 2, Postgres, all other settings default

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [January 15, 2024, 10:26pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/4 "2024-01-15T22:26:06Z")

</div>

Hey, I am experiencing a similar problem after updating to version 1.22.6. In my workflow, the HTTP node was working perfectly with pagination, but now it’s only retrieving the first page. Even though my `Complete Expression` is still `false`, it doesn’t proceed to the next page.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/a/2/a2a38985e8d6ffe92e0d941e23417c053d25ce58.jpeg)

When I manually change `Complete Expression` to `{{ false }}` it gets all pages as expected.

---

<div class="post-metadata">

**Author:** ![nbanba](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/nbanba/32/31010_2.png) [@nbanba](https://community.n8n.io/u/nbanba)\
**Post date:** [January 16, 2024, 1:15pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/5 "2024-01-16T13:15:39Z")

</div>

Same for me. Pagination feature is broken for the last few weeks.

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [January 16, 2024, 8:21pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/6 "2024-01-16T20:21:59Z")

</div>

@Jon @MutedJam Could you please help to clarify the situation?

---

<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:** [January 16, 2024, 8:46pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/7 "2024-01-16T20:46:06Z")

</div>

Hey @Ruslan_Yanyshyn (and others),

Which version of n8n were you running before it stopped working?

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [January 16, 2024, 8:48pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/8 "2024-01-16T20:48:01Z")

</div>

I was running on 1.22.1 and it happened when I updated to 1.22.6

---

<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:** [January 16, 2024, 8:59pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/9 "2024-01-16T20:59:16Z")

</div>

Hey @Ruslan_Yanyshyn,

If you go back down to 1.22.1 does it start working again?

Would also be interested to know if 1.22.5 works

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [January 16, 2024, 10:11pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/10 "2024-01-16T22:11:26Z")

</div>

It’s working on 1.22.1 but doesn’t on 1.22.5

---

<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:** [January 16, 2024, 10:14pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/11 "2024-01-16T22:14:41Z")

</div>

Thanks, that rules out some versions so we should be able to resolve this fairly quickly

---

<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:** [January 17, 2024, 8:38am UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/12 "2024-01-17T08:38:59Z")

</div>

Morning,

Just a quick update, We are tracking this internally as `NODE-1058`

---

<div class="post-metadata">

**Author:** ![Dan\_Westness](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dan_westness/32/119147_2.png) [@Dan\_Westness](https://community.n8n.io/u/Dan_Westness)\
**Post date:** [January 17, 2024, 3:36pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/13 "2024-01-17T15:36:26Z")

</div>

I have the same issue after updating from 1.20 → 1.22.6  
I revered back to 1.22.1 and issue was still present  
I ended up reverting back to 1.20.0 and confirmed working proper again

---

<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:** [January 17, 2024, 3:39pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/14 "2024-01-17T15:39:28Z")

</div>

Hey @Dan_Westness,

This should be fixed in todays release, If you can update to 1.25.0 you should be good to go.

---

<div class="post-metadata">

**Author:** ![Dan\_Westness](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/dan_westness/32/119147_2.png) [@Dan\_Westness](https://community.n8n.io/u/Dan_Westness)\
**Post date:** [January 17, 2024, 7:46pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/15 "2024-01-17T19:46:30Z")

</div>

Thanks Jon!  
I’ll wait until the next “latest” release since i don’t currently have a development environment to test further in. Appreciate the response and addressing it so quickly!

---

<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:** [February 29, 2024, 6:52pm UTC](https://community.n8n.io/t/http-pagination-troubleshooting/35331/16 "2024-02-29T18:52:09Z")

</div>

Closed on February 29, 2024, 6:52pm UTC

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