Look up a console message and the change that fixes it

Every TermsFeed Privacy Consent console message starts with a prefix that names the script part, then a level marker and an 8-character code. Search this page for the code, such as 05cfcfb6, to find what the message means and what to change. A healthy page load does not print a line marked [ee] or [ww].

A full console line reads like this example.

[termsfeed][pc-loader-2-r2] [ww][05cfcfb6] not serviceable!

Console message prefixes and level markers

The prefix names the file that printed the line. Filter the Network tab for termsfeedtag to see all 5 files.

Prefix Script part File in the Network tab
[termsfeed][pc-loader-1] The first loader plugin.js
[termsfeed][pc-loader-2-r2] The second loader, for the settings and consent log events plugin-2.js
[termsfeed][pc-bootstrap] The startup code, for the stored answer and your callbacks plugin-r2.js
[termsfeed][privacyconsent] The consent banner, the Privacy Preferences Center, and the embed placeholders preferences-r2.js
[termsfeed][vendor] The vendor tags vendors-r2.js

The level marker after the prefix tells you whether to act.

Level marker Meaning Action
[ee], [error] A step failed, and Privacy Consent stopped or skipped it Find the line in the tables here
[ww], [warn] Privacy Consent continued in a changed way, or stopped on purpose Find the line in the tables here

Lines marked [dd] report normal steps and need no change. The same holds for [ii], [info], [debug], and [log], unless another line reports an error.

These lines come from the 2 loaders and stop Privacy Consent before the consent banner appears, so no vendor tag runs. The first code prints after [termsfeed][pc-loader-1], and the others after [termsfeed][pc-loader-2-r2]. The 2 lines for a second copy of the snippet stop only that copy, and the first copy runs normally.

Code and message Meaning What to change
[ee][b1b476da] plugin failed! The browser did not load plugin-2.js Allow https://cdn.termsfeedtag.com in the script-src directive of your Content Security Policy, and test with no ad blocker
[ee][20955f11], followed by an address A script address starts with /plugins/pc/v1/ and does not end in /<token>/plugin.js or /<token>/plugin-2.js Paste the snippet as the TermsFeed app gives it, with the file name unchanged
[ee][4e776763] No script on the page carries a Privacy Consent address with a token Load the snippet from the Install page of your consent banner
[ee][205bde55] the plugin was installed multiple times! A second copy of the snippet started after the first copy had started Remove the second copy of the snippet
[ee][1040992c] the plugin was installed multiple times! 2 copies of the snippet started on the same page load, and the second copy stopped Remove the second copy of the snippet
[ee][36de8955] failed detecting origin! The page has no host name Read the next line, which names the reason
[ee][e0498738], with a file:/// note The page opened from a local file:/// address Serve the page from a web server over http:// or https://
[ee][e216c2da], with an <iframe> note The page runs inside a frame with no host name, such as an srcdoc iframe Load the snippet on the parent page
[ee][dc058367], with a protocol note The page address uses a protocol other than http:// or https:// Serve the page over https://
[ee][892b3853], with an installation note The page has no host name for another reason Check that the snippet sits on a page served from your domain
[ee][bc03e2c0] plugin failed! The browser did not load plugin-r2.js, preferences-r2.js, or vendors-r2.js Filter the Network tab for plugins-code, then allow the host in script-src

Some environments give the page no web address or no access to its head. Check each of them with Unsupported Environments.

Settings errors

These lines come from the 2 requests for settings.json, the document that holds the settings and vendors of your consent banner. All print after [termsfeed][pc-loader-2-r2]. Privacy Consent stops after any of them, except the 2 visitor token lines. Filter the Network tab for settings.json and select the failed request to read its status.

Code and message Meaning What to change
[ee][2c7dd752] settings failed! The first request returned a status other than 200 Compare the token with the Install page, and remove any proxy between the page and cdn.termsfeedtag.com
[ee][e0777345] settings failed! The first response was not application/json Check whether a firewall, a proxy, or a login page answered in place of TermsFeed
[ee][16321273] settings failed! The first response held nothing usable Fix the code printed before it, or report the line where none printed
[ee][f5ea4c76] settings failed! The first request did not complete, or its response did not parse Allow https://cdn.termsfeedtag.com in the connect-src directive, and test with no ad blocker
[ww][343c1625] not serviceable! TermsFeed does not serve this token, such as the snippet of a deleted consent banner, while the browser still holds the earlier script Paste the snippet from the Install page of the consent banner you want
[ee][e7dcd197] settings failed! The second request, whose address contains /plugins-api-w/, returned a status other than 200 Look for a firewall or a proxy that answers in place of TermsFeed
[ee][0abe429b] settings failed! The second response was not application/json Look for a security product or a proxy that rewrites the response
[ee][6bb537ee] settings failed! The second response held nothing usable Look at the code printed before it, or report this line where none printed
[ee][34c59001] settings failed! The second request did not complete Allow https://cdn.termsfeedtag.com in connect-src, and remove any proxy between the page and cdn.termsfeedtag.com
[ww][05cfcfb6] not serviceable! TermsFeed does not serve this consent banner Read the not-serviceable warning
[ww][c444605e] overriding user token The settings lacked a visitor token, so Privacy Consent created one in the browser None
[ee][712a1565] overriding user token The browser did not create a visitor token Report the browser and its version

A Content Security Policy causes most request failures. Allow every host and directive Privacy Consent needs with Content Security Policy.

[ww][05cfcfb6] not serviceable! means TermsFeed does not serve this consent banner, so Privacy Consent stops before it shows anything. Visitors do not get a consent banner or a floating button. No vendor tag runs, including vendors in the Essential vendor category, embeds behind replaceable tags do not load, and no event reaches the consent log. Scripts left on the page outside Privacy Consent keep running for every visitor, without asking for consent.

Check the status of the consent banner in the TermsFeed app, starting with the integration.

  1. Compare the token in your snippet with the snippet on the Install page of your consent banner. A snippet copied from another consent banner reports the status of that one.
  2. Read the status label on the card under "Your consent banners", and look up its fix in Consent banner status.
  3. Reload with "Disable cache" ticked in the Network tab after each change, because a browser keeps the settings for up to 1 hour.

The warning is followed by TermsFeed Privacy Consent CMP (Consent Management Platform) is not available for this installation! A consent banner switched off on the Settings page prints both lines. Switch it back on with Enable, Disable, Delete. The snippet of a deleted consent banner, or a mistyped token, prints only the second line.

Startup errors

These lines come from the startup code. A missing part stops Privacy Consent before the consent banner appears, while the storage errors let it continue with no stored answer. The first 6 codes print after [termsfeed][pc-loader-2-r2], and the others after [termsfeed][pc-bootstrap].

Code and message Meaning What to change
[ee][2f2d74cf] bootstrapping failed! (missing bootstrap module) The startup code was missing after the files loaded Confirm that plugin-r2.js returns status 200, and that no script of yours defines termsfeed_privacy_consent_bootstrap
[ee][2354467b], [ee][e1dd0adf], [ee][0dc47531], [ee][d2aed110], or [ee][17f1a2f2], each with bootstrapping failed! Part of the startup code is missing Load the 5 files unchanged from cdn.termsfeedtag.com, with no optimization plugin rewriting them
[ee][b5a1cb21] settings missing preferences HTML; The settings arrived without the consent banner markup, so Privacy Consent continues with nothing to show Send support the response of the second settings.json request
[ee][9ec4267c] The settings arrived without the Custom CSS field, so Privacy Consent continues without your Custom CSS Send support the response of the second settings.json request
[ee][d7b5f985] failed to load preferences state from local storage! The browser blocked reading local storage, so the visit behaves like a first visit Test in a browser that allows local storage for your site
[ee][2e70a41c] failed to decode preferences state from local storage! The stored answer is not valid JSON, so the visit starts empty Check that no script of yours writes to the key termsfeed_privacy_consent_state
[ee][0e00aa4d] failed to encode preferences state into local storage! Privacy Consent did not prepare the answer for storage Report the browser and its version, with the steps
[ee][ef136bd1] failed to store preferences state into local storage! The browser blocked the write, so the answer does not survive the page Allow local storage for your site, and read Consent Banner Keeps Returning
[ee][0e77e256] interaction unknown! Privacy Consent received a choice type it does not know Report the line with the steps that led to it
An uncaught Error whose message is [ee][fb348192], [ee][66c6c303], [ee][48fb7505], or [ee][63ed4f90], or the line [ee][932109ed] bootstrapping unexpected! A second copy of a Privacy Consent file, or a script of yours, started a part of Privacy Consent again Load each Privacy Consent file only through the snippet
[ee][bbe42172] integration initializing unexpected! v1.callbacks() ran twice before the initialized callback ran Call v1.callbacks() once
[ee][d92f50dd] failed preferences initialize delegation! The consent banner code failed to start Report the line with the error printed after it
[ee][894fd1ca] failed vendors initialize delegation! The vendor code failed to start Read the error printed after the code, and look for the vendor tag it names
[ee][b3528098] failed vendors update delegation! The vendor code failed to apply a new answer Read the error printed after the code, and look for the vendor tag it names
[ee][d7e1d6b5] failed updating visitor! A cached earlier file lacks a visitor value, so v1.visitor is null, which clears within 1 hour of a TermsFeed release Guard page code that reads v1.visitor, and reload with "Disable cache" ticked
[ee][34bc933a], [ee][f53aedaf], [ee][4e3f7774] A vendor start, a vendor update, or a visitor choice reached the startup code before the consent banner code reported its start, and Privacy Consent continues Reload with "Disable cache" ticked, because a cached earlier file causes it for up to 1 hour after a TermsFeed release

These lines come from your page code, the request that sends each choice to the consent log, and the vendor code. The consent banner keeps working after the consent log errors. The codes print after [termsfeed][pc-bootstrap], except the 2 pushing event failed! lines, which print after [termsfeed][pc-loader-2-r2].

Code and message Meaning What to change
[ee][478058ef] integration called `openPrivacyPreferences` before initialization! Your code called the method before Privacy Consent started, or on a consent banner that is not served, and nothing opens Call the method only from a click handler, and fix any earlier line
[ee][e807524e] failed preferences open delegation! The Privacy Preferences Center failed to open Report the line with the error printed after it
[ee][9f95e52a] failed integration callback `initialized`! Your initialized callback threw Fix the error printed with the line. v1 stays absent until a later call runs
[ee][9b16b888] failed integration callback `acceptedAll`! Your acceptedAll callback threw, and its error prints after the code Fix the error in the callback body
[ee][e8832f52] failed integration callback `acceptedSome`! Your acceptedSome callback threw, and its error prints after the code Fix the error in the callback body
[ee][46169886] failed integration callback `rejectedAll`! Your rejectedAll callback threw, and its error prints after the code Fix the error in the callback body
[ee][68f5e9ee] pushing event failed! The consent log request returned a status other than 201 Filter the Network tab for events.push, read the status, and report it where it repeats
[ee][ba53c27c] pushing event failed! The consent log request did not complete, so the choice is missing from the consent log Allow the host in connect-src, and expect fewer rows from visitors with ad blockers

These messages have no code and always print. The first follows [termsfeed][privacyconsent], and the others have no prefix.

Message Meaning What to change
[error] PrivacyConsent not initialized. An internal update ran before the consent banner code started Report it with the lines before it
Critical: No consent state or settings provided The vendor code started without the stored answer or the settings Send support the response of the second settings.json request
VendorManager is not initialized The vendor code received an update before it started Send support the steps that led to it

The browser prints these errors with no Privacy Consent prefix and no code, and the change is on your site.

Message in the console Meaning What to change
Refused to load the script 'https://cdn.termsfeedtag.com/...' Your Content Security Policy blocks the Privacy Consent files Add https://cdn.termsfeedtag.com to script-src
Refused to connect to 'https://cdn.termsfeedtag.com/...' Your Content Security Policy blocks the settings or the consent log request Add https://cdn.termsfeedtag.com to connect-src
Refused to apply inline style Your Content Security Policy blocks the styles of the consent banner, which then appears unstyled Allow 'unsafe-inline' in style-src
net::ERR_BLOCKED_BY_CLIENT A browser extension blocked a request Test in a browser profile with no extensions
Cannot read properties of undefined (reading 'openPrivacyPreferences') Your code called the method before the Privacy Consent files finished downloading Call the method from a click handler, never while the page loads
Cannot read properties of undefined (reading 'visitor') Your code read v1 outside an initialized callback Read window.termsfeed_privacy_consent.v1.visitor only inside that callback or an answer callback after it
An error that names a vendor host or function, such as gtag is not defined A vendor tag, or your own code that depends on it, failed Fix the vendor tag in the Vendors page, or run your code after it

Errors that name a vendor usually appear right after the visitor accepts. Fix a vendor tag that fails at that moment with Vendor Script Not Firing.

Send the full console line as text to [email protected], with its prefix, its level marker, and its message. Add the response of the second settings.json request, the address of the page, and the browser with its extensions. Collect the rest of the evidence with Debug an Integration.