-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Analytics
-
5
-
Minor
Issue Summary
Sometimes, the space/page analytics fail to load due to an error, even though there are no restrictions on the site or space analytics permissions. The network shows 403 Forbidden responses, and the UI displays:
We couldn't retrieve your data.
Please reload the page or contact your site administrator.
Steps to Reproduce
- Navigate to a Space/Page Analytics
- View errors in the UI
Expected Results
Analytics load content
Actual Results
Analytics load with an error:
We couldn't retrieve your data.
Please reload the page or contact your site administrator.
Network Request Endpoint
https://SITE.atlassian.net/gateway/api/ex/confluence/UUID/analytics/space/details?spaceKey=SPACEKEY&spaceId=SPACEID
Response: 403 Forbidden
{"reason": "ViewAnalyticsRestricted"}
Workaround
Double-check the site and space permissions following this guide: https://support.atlassian.com/confluence-cloud/docs/set-viewing-permissions-for-analytics/
Reset the space permissions by following these steps:
- Navigating to space settings > analytics permissions
- Set 'View-only restrictions' and Save
- Set to 'No Restrictions' and Save