+ Start a Discussion
Amrendra Kumar 5Amrendra Kumar 5 


Hello Team

I have create a platform event and added a custom field to it. When i do a subscribe call using the streaming API, i get the "403:denied_by_security_policy:create_denied" error.
For my user "System Administrator" profile is assigned and it has "read" and "create" both the permission assigned for my platform event. 

Please suggest the solution.

Khan AnasKhan Anas (Salesforce Developers) 
Hi Amrendra,

I trust you are doing very well.

Please refer to the below links with a similar discussion which might help you further with the above issue.




I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in future.

Thanks and Regards,
Khan Anas
Amrendra Kumar 5Amrendra Kumar 5
Hi Anas, 

Thanks for your reply.

I found the problem, i was providing the object name of my platform event while i should provide the api name of that object.
For example : abc__e instead of abc.