Permission denied error¶
You may encounter the Permission Denied error with the following message:
PERMISSION_DENIED: User does not have sufficient permissions for this property.
The following are the possible solutions to troubleshoot this error:
- Verify the Property Id:
- Ensure that you provide the correct Property Id that matches the intended property you are granting CDP access to.
- Ensure that you share the correct Property Id with CDP.
- User Access Permissions:
- Ensure that Acquia’s Google Analytics user has a Viewer role for the property.
- Check if the Acquia’s Google Analytics user is added to Property Access Management with the necessary permissions.
To resolve the permission denied error:
- Check the Property Id:
- Log in to your Google Analytics 4 account.
- Locate the Property Id associated with the property.
- Compare this Property Id with the Property Id that you have shared with CDP.
- Verify User Access permissions:
- Log in to your Google Analytics 4 account.
- Navigate to the Admin settings.
- Click Property Access Management to see assigned user roles and permissions.
- Ensure that Acquia’s Google Analytics user has a Viewer role for the property.
- Granting Access and Permission:
- Click the appropriate user to modify access and permissions, if required.
- Assign the Viewer role to Acquia’s Google Analytics user, if not already assigned.
- Click Save.
- Retest the Access: