I have a Visualforce page which loads a Lightning Aura Component using LightningOut

In my Aura Component, I'm firing one Application event which will be handled by VF Page. Now when I fire Application Event, I get the error, I'm firing my event like this:


I have also added the below dependency in my lightning out application, which is mentioned here. But still I'm getting the error.

<aura:dependency resource="markup://force:*" type="EVENT"/>
  • How are you handling this in vf page ? Can you add your vf code as well ? Apr 14, 2020 at 15:10

1 Answer 1


It's e.c:CloseConsoleTab, not e.c.CloseConsoleTab. Also, check the event name, as they are cAsE-sEnSiTiVe. Also, if you mean force:closeConsoleTab, you're using the wrong namespace (this event does not appear to exist?), otherwise if you mean to use your own namespaced event, you're importing the wrong dependencies in your markup:

<aura:resource type="event" resource="markup://c:CloseConsoleTab" />

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .