# OnClick Navigate Event "Received event for missing view"

**URL:** <https://forum.inductiveautomation.com/t/onclick-navigate-event-received-event-for-missing-view/86541>\
**Category:** Ignition\
**Tags:** perspective, scripting\
**Created:** [February 28, 2024, 8:21pm UTC](https://forum.inductiveautomation.com/t/onclick-navigate-event-received-event-for-missing-view/86541 "2024-02-28T20:21:47Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Lynn\_Martineau](https://avatars.discourse-cdn.com/v4/letter/l/f1d935/32.png) [@Lynn\_Martineau](https://forum.inductiveautomation.com/u/Lynn_Martineau)\
**Post date:** [October 10, 2024, 9:15pm UTC](https://forum.inductiveautomation.com/t/onclick-navigate-event-received-event-for-missing-view/86541/8 "2024-10-10T21:15:55Z")

</div>

I think it is a race condition.  
When I have a Navigate action as well as a script action, some of the scripted statements, specifically _`system.perspective.sendMessage`_ ends up without a source to be executed from and I get a Warning log "_Received event for missing view_ ".  
I think the intended receiver can't trust a message without a source so the message handler is rejecting the message.  
Changing the order of the script and the navigate actions doesn't make a difference.  
The fix is simple: delete the Navigate action and put _`system.perspective.navigate`_ at the end of the script. All of the scripted statements are executed before the navigate statement takes the parent view away.  
Ignition 8.1.43

---

_[View the full topic](https://forum.inductiveautomation.com/t/onclick-navigate-event-received-event-for-missing-view/86541)._
