I am getting the below error on clicking Personalize button of any component in production sitecore instance which is working fine in other environments. We are using Sitecore 9 and SXA. I have attached the screenshot too. Not able to find the reason.
This happens when reporting api keys are not configured properly. It should be configured both in CM instance and reporting server.
If the authentication keys do not match, the server responds with a 403 (Forbidden) status code.
Please do read below links for more details:-
Configure security keys on servers in a scaled environment https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/configuring_servers/configuring_servers/configure_security_keys_on_servers_in_a_scaled_environment
Configure a Reporting Service server https://doc.sitecore.net/developers/server-role-configuration-reference/core-roles/reporting-service/index.html