Acquia CDP

Resolving 401 unauthorized issues

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:

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 by using the following steps:

  1. Open Google Chrome.
  2. Click Privacy and security > Third-party cookies.
  3. Select Allow third-party cookies.
  4. In the Allowed to use third-party cookies section, click Add.

    The browser displays the Add a site dialog box.

  5. In Site, add [*.]
  6. 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:

  1. Open Safari.
  2. On the top menu bar, click Safari > Preferences > Privacy.
  3. Clear the Prevent cross-site tracking checkbox.


Acquia recommends using Google Chrome as the preferred browser. For more information, see Supported browsers.