Notification texts go here Contact Us Buy Now!

Chrome Browser Error: Attestation check for Topics on https://pagead2.googlesyndication.com/ failed

Facing the Same Issue?

Disable the attestation check while deactivating the topic API by setting the header:

Permissions-Policy: browsing-topics=()

This can be done in an .htaccess file as well:

<IfModule mod_headers.c>
    Header set Permissions-Policy "browsing-topics=()"
</IfModule>

Try Disabling Browser Extensions

Some browser extensions can trigger this warning. Try disabling them to see if it resolves the issue.

Solution for Node.js + Express

const express = require("express");
const app = express();

app.use((req, res, next) => {
    res.append('Permissions-Policy', 'browsing-topics=()');
    next();
});

Experimental Feature: browsing-topics

The browser checks for the browsing-topics Permission-Policy and fails to find it because most websites have not implemented this experimental feature yet.

Refer to the MDN Web Docs for more information: Permission-Policy

Set the Permission-Policy Header

To avoid the dev console error, set the Permission-Policy header as follows:

Permissions-Policy: browsing-topics=()

You can also do this in an .htaccess file:

<IfModule mod_headers.c>
    Header set Permissions-Policy "browsing-topics=()"
</IfModule>

For nginx:

server {
    ...
    add_header Permissions-Policy "browsing-topics=()" always;
    ...
}

For Node.js:

const express = require("express");
const app = express();

app.use((req, res, next) => {
    res.append('Permissions-Policy', 'browsing-topics=()');
    next();
});

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.