惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
月光博客
月光博客
WordPress大学
WordPress大学
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
博客园 - Franky
博客园 - 司徒正美
酷 壳 – CoolShell
酷 壳 – CoolShell
爱范儿
爱范儿
Jina AI
Jina AI
Last Week in AI
Last Week in AI
雷峰网
雷峰网
IT之家
IT之家
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 聂微东
小众软件
小众软件
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
n8n: Fix HTTP Request Node Returning Success With No Data...
Trigger Workflow · 2026-06-14 · via DEV Community

Trigger Workflow

Two n8n issues that look harmless but silently break your workflows:

  1. The HTTP Request node shows a green ✅ but returns empty output
  2. Your workflow times out before finishing — and you're not sure where to change the limit

Both are quick fixes once you know where to look.


Why "Check URL" Returns Success With No Data

n8n marks an HTTP Request as successful based on the HTTP status code only. A 200 OK = green tick — even if the response body is completely empty or contains an error message like {"error": "not found"}.

The fix is a Code node placed immediately after the HTTP Request:

const response = $input.item.json;

// Empty body check
if (!response || Object.keys(response).length === 0) {
  throw new Error('HTTP 200 OK but body is empty.');
}

// Missing data field check
if (!response.data || (Array.isArray(response.data) && response.data.length === 0)) {
  throw new Error('API returned no data. Raw: ' + JSON.stringify(response).substring(0, 200));
}

// Error hidden inside a 200 response
if (response.error || response.success === false) {
  throw new Error('API error in 200 body: ' + JSON.stringify(response.error));
}

return { json: response };

Now your workflow fails loudly with a clear message instead of passing empty data to every node downstream.


How to Configure Execution Timeout in Workflow Settings

The default execution timeout is 30 seconds. For workflows that call slow APIs, loop through many items, or process files, this is too short.

To change it:

  1. Open your workflow in the n8n editor
  2. Click the Settings gear icon (top-right, next to the workflow name)
  3. Find Execution Timeout (seconds) — default: 30
  4. Set it to 120 or 300 depending on your workflow
  5. Click Save, then toggle the workflow off → on

Self-hosted n8n: add EXECUTIONS_TIMEOUT=120 to your .env file and restart.


Export the Workflow JSON (With Settings Included)

After saving, export via ⋮ menu → Export. Your JSON will include the timeout setting:

{
  "settings": {
    "executionOrder": "v1",
    "executionTimeout": 120
  }
}

If executionTimeout is missing from your exported file — you exported before saving. Always save first.


Still Timing Out After 300s?

Usually one of three causes:

  • Infinite loop — Split In Batches connected back incorrectly
  • Too many items — use smaller batch sizes (10–50 per batch)
  • Slow API — add a Wait node between calls

For the full guide with more edge cases, code samples, and FAQ:
👉 n8n Check URL Node: Fix Success Error & Execution Timeout — TriggerWorkflow

I write practical n8n tutorials focused on real errors and production workflows. If you're building automation with n8n, you might also find these useful: