HTTPS Request Pagination - Next URL

Hello everyone, this is Joe :slight_smile:
I am having some problems with the paging function of the HTTP Request node.
In particular, the Next URL retrieval option does not seem to be able to access the attributes of previous nodes.
The execution relaunches error “Referenced node is unexecuted”.
I somehow have the impression that this happens from the second round of the loop because, if I open the node in error, I can see the previous referenced node’s data.
Not able to post the actual flow here as there are confidential parameters involved, but I can post a couple of images:


Does anyone have any hints? Is there a reason why the function is not accessing data from previous nodes? If not, could it be a useful evolution?

n8n version: 1.56.2
Database (default: SQLite): default
n8n EXECUTIONS_PROCESS setting (default: own, main): default
Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
Operating system: Arch Linux

Thank you, Joe

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:

Welcome to the community @jabar !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.


The error “An expression references the node ‘Get Access Token’, but it hasn’t been executed yet. Either change the expression, or re-wire your workflow to make sure that node executes first.” would indicate the automatic discovery of the referenced node’s item failed. This is likely due to IF node present in the flow which prevents identifying the item (link it back to the paired item).

To resolve, replace .item. with .first(). to help n8n locate the item. That is, replace the expression {{ $('Get Access Token').item.json.instance_url }} with {{ $('Get Access Token').first().json.instance_url }}. Similarly, you likely need to do that the reference to the node “Create Query Job”.

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