How-To

ActiveCampaign 502 Bad Gateway and Tags Failed to Load: Fixes

"Bad gateway Error code 502" in ActiveCampaign means Cloudflare, the proxy in front of the app, got no valid response from ActiveCampaign's servers. That is usually their side. Check the status page, retry in a clean browser session, clear cookies, then send support the Ray ID if it persists.

Sohail HussainSohail Hussain8 min read

Short answer

  • A 502 means a gateway server got an invalid response from a server behind it, so it is usually not your account or your internet. Reload, then check ActiveCampaign's status page for an open incident.
  • If the status page is clear, test a private window, a second browser and another network. If the error stays, send support the exact error text, the URL, the time with time zone and the Cloudflare Ray ID.

You open ActiveCampaign and get Bad gateway Error code 502. Or the app loads but the tag picker never finishes, or you can't sign in. Below: what the error means, what you can rule out in about ten minutes, and what to send support.

Why it happens

ActiveCampaign uses Cloudflare to help deliver and protect its website, and a page that cannot load may show a Cloudflare error page with a code such as 522, 502, or 504. A 502 means a server acting as a gateway received an invalid response from an upstream server. The general HTTP definition says the same; see MDN's 502 Bad Gateway reference.

The code alone does not tell you who is at fault. ActiveCampaign's article says the error code alone does not establish the cause, and that these errors can involve ActiveCampaign infrastructure, Cloudflare, or the connection between them. So a 502 is not proof of an outage, and it is not proof your browser is broken.

Likely causes, most common first:

  1. A server-side problem. An upstream service is restarting, overloaded or returning something malformed. Nothing on your side changes this.
  2. An incident not yet posted. An incident may not yet be listed on the status page, so a green page does not clear the service.
  3. A failing background request. The page loads, but the call that fetches tags fails, so the picker spins. I can't say which internal service handles tags; the Network tab shows the failing request.
  4. A stale cookie, session or extension. This can make pages half-load or logins loop. ActiveCampaign says unexpected behavior like this is usually related to your browser. It is a less likely explanation for a Cloudflare 502 page.
  5. A proxy or DNS filter on your network. Rare, but cheap to rule out.

Step-by-step fixes

1. Reload and check the status page

  1. Reload the page after a short wait.
  2. Open ActiveCampaign's status page and look for open incidents on the app, API or automations. Follow any published updates.
  3. If an incident is open, stop; retry once it is marked resolved.
  4. If everything shows operational, continue below.

2. Rule out your browser and session

ActiveCampaign's basic troubleshooting article recommends trying a different browser, turning off extensions one at a time, and using a private window. In order:

  1. Hard refresh: Ctrl+Shift+R on Windows and Linux, Cmd+Shift+R on Mac.
  2. Open the app in a private or incognito window. If it works there, the cause is a cookie or extension in your normal profile.
  3. Try a second browser, updated to the latest version.
  4. Clear cookies and site data for activecampaign.com and your account subdomain, then sign in again.
  5. Disable ad blockers, privacy tools and VPN extensions one at a time, then reload.
  6. Switch networks, for example to a phone hotspot, to catch a corporate proxy or DNS filter.

If a private window works but your normal profile doesn't, clear the site data and stop there. Working in a private tab indefinitely hides a bad cookie that takes two minutes to remove.

3. Diagnose tags that won't load

  1. Press F12, open the Network tab and reload.
  2. Look for a red request. A 502, 503 or 504 on it points to a server-side failure.
  3. Copy the request URL and the time; support will want both.
  4. Try the same task elsewhere, for example filtering by tag on the Contacts page instead of inside an automation.

Don't edit live automations

While the app is returning errors, avoid changing a running automation or a tag-based segment. A half-loaded tag list can lead to the wrong tag being selected.

4. Fix login failures

If the login page itself shows the 502, use steps 1 and 2 above. If the login is rejected or loops:

  1. Open your own account sign-in page and confirm the account name is correct.
  2. Clear your browser cache and cookies, try a different browser, and use an incognito/private window.
  3. If the "Forgot?" link is missing, enter your username and log in with any password; the link may appear after an unsuccessful attempt.
  4. If you log in through a reseller or partner account, the login page may look different; contact your account owner or primary admin to reset the password.
  5. For an "Error launching the page" message, wait a few minutes and try again.

ActiveCampaign's login troubleshooting article covers these cases.

Which symptom points to which cause

SymptomLikely causeFirst thing to try
Cloudflare page with 502, host marked as failingGateway or upstream problemStatus page, short wait, reload
502 in one browser onlyCookies or extensionPrivate window, clear site data
App loads, tags spin foreverFailing background requestNetwork tab, note the failing URL
Login loops or rejectsStale session or wrong accountClear cookies, other browser
Works on a hotspot onlyLocal proxy or DNS filterAsk your IT person
Fails for over an hour everywhereUnposted incident or account issueContact support

Copy the Ray ID

The Cloudflare error page usually shows your browser, the Cloudflare location and the host, plus a Ray ID. Copy the Ray ID before you close the tab, because support can ask for it.

Checklist before you contact support

  • Status page checked, and no open incident explains it
  • Tried a private window, a second browser and another network
  • Cleared cookies and site data for the account
  • Copied the exact error text and the Ray ID
  • Noted the failing URL, or the failing request from the Network tab
  • Noted the date and time with your time zone
  • Took a screenshot of the error page

If nothing works

If the error persists, ActiveCampaign says to contact its Customer Experience Team with the exact error code and message, affected URL, date and time with time zone, and the Cloudflare Ray ID if shown. A screenshot of the error page can help. For errors on ActiveCampaign-hosted pages, Support can investigate the service connection, and you do not need to change origin-server or firewall settings. The details are in ActiveCampaign's Cloudflare or 504 errors article.

For login problems, include the account name you are trying to log in to. If you can sign in, you can review tickets you have opened under your profile > View Support Tickets. If you can't sign in, use the contact route listed in ActiveCampaign's help center.

Subject: Cloudflare 502 and login/tag loading failure on account {your-account-name}

Hello,

Since {date and time, time zone} I get "Bad gateway Error code 502" in ActiveCampaign.
Account name: {your-account-name}
Failing URL: {url}
Cloudflare Ray ID: {ray id}
Symptoms: {tags fail to load / cannot log in / pages do not load}
Already tried: status page (no incident listed), private window, second browser
({browser and version}), another network, cleared cookies and site data.
Screenshot attached.

Please investigate on your side and tell me whether an incident affects my account.

Thanks,
{your name}

Protect your work while the app is unstable

A dashboard error does not tell you whether scheduled sends or automations are affected, and I can't confirm how ActiveCampaign behaves in that situation. As a precaution, hold off on new scheduling while errors continue. Once service returns, open your campaign reports and confirm what actually went out. If automations depend on tags, spot-check a few contacts.

Common questions

Does a 502 mean my contacts or data are lost?

A 502 is a failed response, not a deletion signal. After service returns, check your contact counts and campaign reports to confirm everything is as you left it.

Why does the status page say everything is operational?

ActiveCampaign says an incident may not yet be listed, and to contact Support if the problem continues. Don't wait for the page to change if the error persists.

Is a 502 the same as a 504 or 522?

They are related. ActiveCampaign describes 522 as Cloudflare timing out while contacting the website server, and 504 as a gateway not receiving a response from upstream in time. The same steps and the same support details apply.

Can I fix this with DNS or firewall changes?

For ActiveCampaign-hosted pages, no. Change network settings only if the app works on another network and fails on yours.

strategyactivecampaignerror-codes
Share this article
Sohail Hussain

Sohail Hussain

Founder & CEO at Mailneo

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

Ready to supercharge your email marketing?

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

Get Started Free