How-To

Lemlist Trigger: 404 - {} in n8n: fix and Make errors

"Lemlist Trigger: 404 - {}" in n8n usually means the trigger could not register its webhook with lemlist. On self-hosted n8n, set WEBHOOK_URL to a public HTTPS address, restart, and re-activate the workflow. If that fails, re-check the API key and the campaign you selected.

Sohail HussainSohail Hussain9 min read

Short answer

  • On self-hosted n8n, the Lemlist Trigger 404 most often means n8n is advertising a localhost or internal URL that lemlist cannot reach. Set WEBHOOK_URL to your public HTTPS address, restart n8n, then deactivate and re-activate the workflow.
  • If that does not fix it, re-enter the lemlist API key and re-select the campaign. In Make, recreate the connection and check that every required field in the lemlist module is mapped.

You clicked Listen for test event or activated a workflow in n8n, and the Lemlist Trigger node failed with this:

Lemlist Trigger: 404 - {}

Or you are in Make, and a scenario that sends leads to lemlist keeps throwing a connection error. Both come down to a request that lemlist could not match to something real, but the causes differ, so they are split below.

What the error means

When you test or activate the workflow, the Lemlist Trigger node calls lemlist's API to create a webhook that points back at your n8n instance. When you deactivate the workflow, it calls the API again to delete that webhook.

The 404 is an HTTP status that n8n relays. The {} is the response body, and it is empty, so nothing in the message says which part was "not found". People on n8n's community forum report this on self-hosted installs. I can't see inside lemlist's API, so the order below is most likely first, not a certainty.

Why it happens

CauseSymptomFix
n8n advertises a localhost or internal URLNode shows localhost or an internal hostname in its webhook URLsSet WEBHOOK_URL to your public HTTPS address
Wrong or stale API keyCredential test fails, or 401 in other callsRe-paste the key, test with curl
Campaign or webhook no longer existsError appears after deleting or renaming things in lemlistRe-select the campaign, re-activate the workflow
Copied workflow with stale stateError only in a workflow imported from another instanceRebuild the trigger node
Test versus production pathError only while listening for a test eventActivate the workflow and trigger a real event
Make mapping or connection problemConstant error when adding leadsRecreate the connection, map required fields

Step-by-step fixes

Fix 1: make n8n advertise a public URL

Check this first on a self-hosted install. n8n builds webhook URLs from its own host and port unless you tell it otherwise. Behind a reverse proxy, in Docker or on a laptop, that usually gives something like http://localhost:5678/webhook/.... Lemlist's servers cannot call that.

To confirm, open the Lemlist Trigger node and look at the webhook URLs it shows. If one starts with localhost, 127.0.0.1 or an internal hostname, this is your problem.

  1. Make sure n8n is reachable from the internet over HTTPS at a real domain. A reverse proxy such as Nginx or Caddy in front of port 5678 is the usual setup.
  2. Set the WEBHOOK_URL environment variable to that public address, with a trailing slash.
  3. In Docker Compose, put it under environment: for the n8n service, then recreate the container so the new value loads. A plain restart of an already-running container may not pick up changed environment values.
  4. Reopen the workflow. The node should now show your public domain.
  5. Deactivate the workflow, then activate it again so the webhook is registered with the new URL.
WEBHOOK_URL=https://n8n.example.com/

Then check reachability from a machine outside your network:

curl -i https://n8n.example.com/healthz

A 200 means the instance answers. If this times out, fix DNS, the firewall or the proxy before touching n8n again.

Registered webhooks keep the old address

Changing your domain, proxy or WEBHOOK_URL does not update webhooks that lemlist already holds. Deactivate and re-activate every workflow that uses the trigger after any such change.

For local development only, n8n has a tunnel mode that gives you a temporary public URL. Don't use it in production.

Fix 2: rule out the API key

Lemlist authenticates API calls with an API key, sent as the password in HTTP Basic auth with an empty username. In n8n that key lives in the Lemlist credential. A bad key more typically produces a 401, but a key from the wrong lemlist team or a stale pasted value takes a minute to rule out.

  1. In lemlist, open your settings and look for the integrations or API section to copy the key. Menu labels change, so search the settings for "API".
  2. In n8n, open the credential, paste the key again without spaces, and save.
  3. Test the key outside n8n:
curl -u ":YOUR_API_KEY" https://api.lemlist.com/api/team

If that returns your team data, the key works. If it returns an auth error, regenerate the key in lemlist and update the credential.

Fix 3: check what the trigger points at

A 404 is also what you get when the thing you point at is gone.

  1. Deleted or renamed campaign. If the node is set to a specific campaign, open the dropdown and re-select it. If the campaign was removed in lemlist, the saved ID is dead.
  2. Webhook already deleted in lemlist. If someone removed the hook on the lemlist side, n8n's attempt to delete it when you deactivate can return 404. Deactivate, then activate again to register a fresh one.
  3. Copied workflows. A workflow imported from another instance can carry stale webhook state. Rebuild the trigger node from scratch instead of reusing the copy.

Fix 4: separate test mode from production

n8n uses two webhook paths: /webhook-test/ while you click Listen for test event, and /webhook/ once the workflow is active. The test webhook exists only while the editor is listening, and it fires once.

If the error shows only in test mode, activate the workflow and trigger a real lemlist event to check the production path. If activation itself fails with the 404, go back to Fix 1.

Read the node's URL first

Before changing anything, copy the webhook URL shown in the node and open its host in a browser from outside your network. If you cannot reach that host, lemlist cannot either.

Make: connection errors when sending leads to lemlist

A Make user on the vendor's community forum reported a constant error when sending leads to lemlist. The cause was not spelled out there, so treat these as the usual suspects, not a confirmed diagnosis.

  1. Delete the lemlist connection in Make and create a new one with a fresh API key.
  2. Open the failing module and check that every required field is mapped. For adding a lead, that means the campaign and a valid email address. An empty value coming from an earlier module is a common culprit.
  3. Run the scenario once on a single bundle and read the module's output panel. The response body often names the field that failed.
  4. If the built-in module will not do what you need, use Make's HTTP module against https://api.lemlist.com/api/ with Basic auth, an empty username and your API key as the password.

As with n8n, a 404 in Make often means the campaign ID in the request does not exist in the team your key belongs to. A key from one lemlist team cannot reach another team's campaigns.

Checklist before you try again

  • The node's webhook URL shows your public HTTPS domain, not localhost.
  • https://{your-domain}/healthz returns 200 from outside your network.
  • WEBHOOK_URL ends with a trailing slash and the container was recreated after the change.
  • The curl test with your API key returns team data.
  • The campaign selected in the node still exists in the same lemlist team as the key.
  • You deactivated and re-activated the workflow after every change.

If nothing works

If the URL is public, the key passes the curl test and the campaign exists, the problem may be on lemlist's side. Contact lemlist support first. If the node still shows an internal URL after you set WEBHOOK_URL, ask on n8n's community forum and include your reverse proxy setup.

Include:

  • the exact error text and the time it occurred, with timezone
  • your n8n version and whether it is self-hosted
  • the public webhook URL shown in the node, with any secrets removed
  • the result of the curl key test
  • the steps you already tried
Subject: Lemlist Trigger returns "404 - {}" when activating a workflow

Hi,

My n8n workflow with the Lemlist Trigger node fails with:
Lemlist Trigger: 404 - {}

Time of the error: {date, time, timezone}
n8n: self-hosted, version {version}
Webhook URL shown in the node: https://{your-domain}/webhook/{id}
API key: valid (GET https://api.lemlist.com/api/team returns my team)
Campaign: {campaign name} (exists in my team)

I already set WEBHOOK_URL, recreated the container, and re-activated the workflow.
Can you check whether a webhook creation request from my team returned 404 on your side?

Thanks,
{name}

Common questions

Does a 404 mean my API key is wrong?

Usually not. A bad key more typically returns 401. A 404 points at a missing resource, such as a campaign, a webhook or an unreachable URL, though a key from the wrong team can look the same.

Do I need HTTPS for WEBHOOK_URL?

Use it. Lemlist is a hosted service calling your instance over the internet, so a public HTTPS address behind a reverse proxy is the dependable setup. I would not expect a plain http or internal address to work.

Why does it work in test mode but fail when active?

The test URL and the production URL are different paths, and the test one lives only while the editor listens. Check that the active workflow's webhook URL uses your public domain, then re-activate it.

Can I avoid this by polling instead of using a webhook trigger?

If lemlist's API offers the data you need, a scheduled workflow that calls it with an HTTP Request node does not need a reachable URL. Check lemlist's API documentation for the endpoint before relying on it.

Reflects behavior as of November 2026. n8n and lemlist change their interfaces, so check their current docs if a label does not match. For background on how these callbacks work, see our webhook glossary entry.

automationlemlisterror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

Building Mailneo — AI-powered email marketing for growing businesses.

Related Articles

How-To

Drip Zapier error: "Could not locate the bindings file"

This Zapier error points to a problem inside the Drip app's code, where a compiled native module (the deasync bindings file) could not be found. Your Zap settings are not the likely cause. Replay the run, check Zapier's status page, and send the run details to Zapier support if it repeats.

Sohail Hussain|7 min read
How-To

Mailchimp Omnivore account suspended: triggers and review fix

Omnivore is Mailchimp's automated abuse-prevention system. It suspends accounts when it flags a list or content, often at send time. You can't switch it off. Reply to the suspension notice with proof of how each contact opted in, keep everything in one ticket, and follow up through support chat.

Sohail Hussain|8 min read
How-To

Marketing Cloud "General System Error" in Automation Studio SQL

In Salesforce Marketing Cloud, "General System Error" on an Automation Studio SQL activity is a catch-all message that often hides an ordinary syntax or schema mistake. Validate the query, check field types and lengths, run it in pieces, then try another browser or a cleared cache. If it persists, contact Salesforce support.

Sohail Hussain|8 min read
How-To

Klenty "Missing placeholder details" error: fix empty merge tags

Klenty stops a cadence or moves emails to Errors when a merge tag such as {{FirstName}} or {{Company}} is empty for a prospect. Find the prospects with blank fields, fill them in or re-import with the column mapped correctly, then give every placeholder a fallback value so it doesn't recur.

Sohail Hussain|8 min read

Ready to supercharge your email marketing?

Start sending smarter emails with AI-powered campaigns. No credit card required.

Get Started Free