Describe the problem/error/question
Sure, I’ll translate your request for help into English:
Hello, N8N community!
I’m facing a challenge with dynamic HTTP Requests in N8N and would appreciate your help.
Problem: I’m attempting to make an HTTP Request in N8N using a dynamic URL. However, I’m encountering inconsistent behavior depending on how the URL is entered.
Details:
- Using a Direct Expression:
- Expression:
{{ $json.videoUrl }} - Result: An error occurs.
- Context: This URL is dynamically generated from a spreadsheet.
- Entering the URL Directly:
- If I enter the URL directly into the HTTP Request’s URL field, it works without any issues.
- Using a ‘Set’ Variable:
- Expression:
{{ $json.video }} - Result: It works correctly.
- Context: In this case, I manually set the value of ‘video’ using a ‘Set’ node.
I am seeking to understand why the expression {{ $json.videoUrl }} is failing, while other approaches work. Any insights or suggestions would be greatly appreciated!
Thank you in advance for your help!
What is the error message (if any)?
Error 1
Cannot read properties of null (reading ‘replace’)
{“status”:“rejected”,“reason”:{}}
Error 2
ERROR: Forbidden - perhaps check your credentials?
403 - “URL signature expired”
Share the output returned by the last node
Information on your n8n setup
-
n8n version:
n8n Version
1.19.4
Source Code
GitHub - n8n-io/n8n: Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services. -
Database (default: SQLite):
PostgreSQL -
n8n EXECUTIONS_PROCESS setting (default: own, main):
-
Running n8n via (Docker, npm, n8n cloud, desktop app):
Docker -
Operating system:
Unbutu 20.04
