You need to sign in to do that
Don't have an account?
Vineeth Vishwanath
Enable Change Data Capture for OpportunitySplit
I am trying to subscribe to the OpportunitySplitChangeEvent but getting the below error.
403::User not allowed to subscribe CDC without required permissions
I can access the Opportunity events without any issues. The user I am using has a read-only profile with a permission set assigned, which has 'View All' access for Opportunity under Object settings. I cannot see the object settings for OpportunitySplit.
I tried enabling the 'View All Data' setting under the System permissions in the permission set, but some of my clients wouldn't want to do that.
Is there a way to get the OpportunitySplit events without giving the 'View All Data' permissions under system settings? I am ok with changing my profile type but want to avoid providing the 'View All Data' permission.
403::User not allowed to subscribe CDC without required permissions
I can access the Opportunity events without any issues. The user I am using has a read-only profile with a permission set assigned, which has 'View All' access for Opportunity under Object settings. I cannot see the object settings for OpportunitySplit.
I tried enabling the 'View All Data' setting under the System permissions in the permission set, but some of my clients wouldn't want to do that.
Is there a way to get the OpportunitySplit events without giving the 'View All Data' permissions under system settings? I am ok with changing my profile type but want to avoid providing the 'View All Data' permission.
You need to Enable Modify All Data permission.
Refer the below help article.
https://trailblazer.salesforce.com/issues_view?id=a1p3A000001SHldQAG&title=view-all-data-permission-is-not-sufficient-to-subscribe-cdc-events
If this helps, please mark it as best answer.
Thanks!!