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
Kevin RiceKevin Rice 

lightning:empApi Component error

Has anyone encountered this error when working with the lightning:empApi aura component: 
{"clientId":"1iopxarej4jk01v4cvol79hsrwd","channel":"/meta/subscribe","id":"362","subscription":"/event/My_Platform_Event__e","error":"400::The replayId for channel {/event/My_Platform_Event__e} wasn't found using the provided replay ID map {{}}. Ensure that the channel name you provided in the replay map is valid and matches the channel name used for subscribing.","successful":false}

I have been battling this one for a few days. Following the prescribed instructions in the developer guide, I get a successful response from the returned Promise. However, when an event is received the error above is surfaced. 

I can add source code to the question, if necessary, but just wondering if anyone else has encountered the same recently and found a simple solution.