Dealing with common error codes
While using FunnelFlux you may see errors, either in the UI or when loading tracking links.
This page lists the errors we have seen and what they usually mean, to help you troubleshoot.
Errors when loading a tracking or action link
Section titled “Errors when loading a tracking or action link”404 error
Section titled “404 error”This occurs when FunnelFlux does not know where to send the visitor.
You will usually see it when loading action links.
The page shows a plain-text message, such as 404.
This generally happens for one of two reasons:
-
The visitor reached the page and clicked an action link, but has not been tracked yet, so has no presence in the tracker.
-
The visitor started a tracking session but does not have the cookies that tell the tracker which funnel they are in and which node they have travelled to, so the tracker cannot compute where they should go next.
Common causes of missing cookies:
-
You loaded the landing page directly, with no JS tracking on the page, so no entrance was recorded and no tracking session started.
-
The visitor has blocked cookies in their browser, intentionally or not. They may have been tracked, but when they click the action link the tracker cannot tell they are that existing visitor.
-
You are loading an action number that has no outgoing connection from the node the tracker thinks the user is on. This can happen if you load action links in an odd sequence, or have multiple action links on a page opening in new tabs and the referrer is being blocked, so the tracker cannot tell the click came from a previous node (rather than the one the user apparently moved to).
-
You are not keeping the domain consistent. For example, your initial redirect link or JavaScript uses
domain1.comand your action links usedomain2.com. Cookies are domain dependent, so thedomain2.comaction link cannot read the cookies fromdomain1.com.
When troubleshooting a 404, check:
-
How are you tracking the user’s entrance? Did they go through a redirect link, or did the JavaScript tracking start the session? One or the other has to be present.
-
Could anything be blocking cookies from being set in the browser?
-
Are you keeping the domain consistent?
-
If links open in new tabs, is the referrer passed to the action link? Do not use
rel="noreferrer", and avoid switching from HTTPS to HTTP between the lander and the action link.
403 error
Section titled “403 error”This is a server-side “forbidden” error.
It is not caused by FunnelFlux and points to a server configuration issue.
502 Bad Gateway
Section titled “502 Bad Gateway”This is also a server-side error and, in most situations, is not related to your FunnelFlux configuration.
processFunnelNode() error A
Section titled “processFunnelNode() error A”This error occurs when you use a funnel entrance link for a node or funnel that does not exist.
It usually comes from a copy-and-paste error or a malformed URL, so that the node ID (flux_fn) or the funnel/traffic ID (flux_fts) is invalid.
Deleted campaigns, funnels and nodes are not permanently deleted, so existing links do not break easily. They will stop working correctly if you have deleted the landers or offers they refer to.
If you see this error, check that your URLs are correct, and check whether you have deleted a funnel or its nodes, or changed something that would break existing links.
NODE NAME’s node doesn’t have valid exit connections
Section titled “NODE NAME’s node doesn’t have valid exit connections”The message starts with the name of a rotator node. You are sending traffic to that rotator, but it has no connection that can send the visitor anywhere. Open the funnel and connect the rotator to the next node.
Missing exit connection from condition node
Section titled “Missing exit connection from condition node”A condition node in the funnel has no connection for the route the visitor matched. Open the funnel and make sure every route of the condition node is connected to a next node.
Front-end errors
Section titled “Front-end errors”These are errors you may see in the FunnelFlux UI.
Origin time-out
Section titled “Origin time-out”This can happen when a report takes so long that it hits a time limit before the server answers. Reports query ClickHouse, and the request also passes through PHP and Nginx, and through Cloudflare if your domain is proxied. Cloudflare stops waiting after 100 seconds and shows error 524.
If this happens, consider how large the report is and how much hit data it covers. Try a shorter date range or fewer groupings.
For large reports on a busy tracker, the server may simply be too small.
See What server specifications do I need to handle X clicks per day? for running optimize-server.sh on a larger server.
If the report is small, an origin time-out is unusual and points to an issue that should be investigated. Contact our tech team: use the chat in your FunnelFlux dashboard or email support@funnelflux.com.
Unexpected end of JSON input
Section titled “Unexpected end of JSON input”This error has come up in a number of circumstances.
In general, it happens when something breaks the formatting or validity of the JSON data that the front-end JavaScript retrieves from the FunnelFlux back end.
This can happen if landers or offers have unusual symbols in their names or properties. Usually this is fine because the system sanitises the data, but there are always new ways to break it.
In the past we have seen emoji used in URLs, and a lander name that was a full copy of a JavaScript code block.
Many things can affect how the front-end JavaScript reads data, such as browser plugins and updates. First try a different browser, clear cache and cookies, and check that no plugin is blocking JavaScript from loading. If the error persists, ask our tech team to investigate: use the chat in your FunnelFlux dashboard or email support@funnelflux.com.

