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
Hema YejjuHema Yejju 

Permission for platform Event

HI , I have a custom Platform Event craeted and i am facing one issue like, when i run the script using the platform event in workbench i am getting error Line-1 clumn -1.

i am stuck in what permission needs to be given to the particualr user (profile) who are running the script from workbench.
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Hema,

Are you not getting the error while running as system admin user?

Thanks,
 
Hema YejjuHema Yejju
Hi Sai Praveen , yes i am not getting error while i am running the script as s System Admin