The most common reason you can be denied access to PBX Stats is that your IP address must be included in the list of allowed ones.
You can configure the access in your CommPeak Portal account in Cloud PBX > PBX Instances > your PBX server > Firewall Settings > Web ACL tab.
For information on how to allowlist your IP, please refer to this articleโ.