You need to sign in to do that
Don't have an account?
Amrendra Kumar 5
403:denied_by_security_policy:create_denied
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.
Thanks!
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.
Thanks!
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.
https://github.com/forcedotcom/EMP-Connector/issues/17
https://stackoverflow.com/questions/49918342/error-when-subscribing-to-operations-through-the-java-client
https://jdspaceit.wordpress.com/2017/10/19/salesforce-platform-events-for-enterprise-messaging/
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
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.
Regards,
Pratibha
I was getting a similar error while trying to publish data onto a channel.. and I had to change the path from:
"/event/My_Platform_Event__e"
to
"/data/My_Platform_Event__e"