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
Sandeep BaralaSandeep Barala 

platform events is only published but not deliverd

getting error :
"statusCode" : "OPERATION_ENQUEUED",
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Sandeep,

I dont guess this is some sort of error. please find the below article for the same.

https://developer.salesforce.com/docs/atlas.en-us.platform_events.meta/platform_events/platform_events_publish_api.htm

If this solution helps, Please mark it as best answer.

Thanks,
Jaya Karthik  karnatiJaya Karthik karnati
Hi Sandeep ,

As sai praveen confirmed , yes the statuscode is correct and expected.

But if the issue is regarding the delivery kindly make sure you satisfy below points.
  • The platform event must be in deployed status . (other wise the listener cannot subscribe to the platform event)
    • User-added image
  • Make sure your subscribers API version is upto date .
    • meaning for example you want to subcribe to field Event UUID : this field is only avaible in version 52.0 and above , so this will not be delivered.
Thanks,
Karthik
Jaya Karthik  karnatiJaya Karthik karnati
Hi Sandeep,

Hope the previous answer helped your question , if so kindly mark it best answer to close this question. 

Thanks,
Karthik