You need to sign in to do that
Don't have an account?
John Zhao 15
Access to entity 'AIInsightValue' denied
Getting this error while running apex test classes after the Winter 2021 release on our sandbox. The apex test in question does not use any einstein functionalities.
Greetings!
This is an Einstein prediction insight value which is available if Einstein Analytics is enabled only.If your apex has not refer any thing related to Einstein then this should not throw the error.
So,I would suggest you to enable the permissions to fix the issue.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_aiinsightvalue.htm
Also,it is started occurring after the release only then you can actually reach out to the Salesforce.com support to confirm,if there is bug created for this behaviour.
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
All Answers
Greetings!
This is an Einstein prediction insight value which is available if Einstein Analytics is enabled only.If your apex has not refer any thing related to Einstein then this should not throw the error.
So,I would suggest you to enable the permissions to fix the issue.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_aiinsightvalue.htm
Also,it is started occurring after the release only then you can actually reach out to the Salesforce.com support to confirm,if there is bug created for this behaviour.
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Hi!
Have you resolved this problem?