function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gwenn Ferguson 17Gwenn Ferguson 17 

subscription=/event/LogoutEventStream, error=403:denied_by_security_policy:create_denied

We are setting up event monitoring in our new production org. When the API user makes the call they receive an error "subscription=/event/LogoutEventStream, error=403:denied_by_security_policy:create_denied, successful=false"

The custom profile created for this user has Edit Events (which includes create/edit/delete events) as well as Create Topic and access to the necessary objects, the Connected App I created for it is assigned to the profile . Are there specific permissions in the custom profile that I might have missed that would cause this error?


I did enable Streaming Data on the appropriate events in the Event Manager.

I'm kinda at a loss right now of what else to enable without opening the door to complete access.

Thanks in advance.
Vishwajeet kumarVishwajeet kumar
Hello,
Please validate and make sure correct API name is used for object.Similar issue reported here (https://developer.salesforce.com/forums/?id=9060G0000005myAQAQ).

Thanks
dturkeldturkel
I read this in the LogoutEventStream documentation (https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/sforce_api_objects_logouteventstream.htm):

Special Access Rules
As of Summer ’20 and later, only users with the Customize Application user permission can access this object.