When trying to access the Metrics page, you might get the following error message:
You are not authenticated to view this page. 401
This error occurs because of the following issues:
- Google Chrome is blocking third-party cookies unless they are allowlisted
- Safari browser is preventing cross-site tracking
To resolve this error, you must verify the settings for each of the issues.
Google Chrome is blocking third-party cookies unless they are allowlisted¶
As a precautionary security measure, your IT team may block third-party cookies in Google Chrome and only allow cookies from certain allowlisted domains. In such cases, you may receive the 401 unauthorized error message when trying to access the Metrics page. You can resolve this by allowlisting third-party cookies from looker.com by using the following steps:
- Open Google Chrome.
- Click Privacy and security > Third-party cookies.
- Select Allow third-party cookies.
In the Allowed to use third-party cookies section, click Add.
The browser displays the Add a site dialog box.
- In Site, add
[*.]looker.com
. - Restart Google Chrome.
Safari browser is preventing cross-site tracking¶
In Safari, if the Prevent cross-site tracking checkbox is selected, CDP returns the 401 unauthorized error. To avoid this error:
- Open Safari.
- On the top menu bar, click Safari > Preferences > Privacy.
- Clear the Prevent cross-site tracking checkbox.
Note
Acquia recommends using Google Chrome as the preferred browser. For more information, see Supported browsers.