# 'No perspective session attached to this thread' when using system.perspective.sendMessage

**URL:** <https://forum.inductiveautomation.com/t/no-perspective-session-attached-to-this-thread-when-using-system-perspective-sendmessage/111371>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 13, 2025, 12:19am UTC](https://forum.inductiveautomation.com/t/no-perspective-session-attached-to-this-thread-when-using-system-perspective-sendmessage/111371 "2025-10-13T00:19:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![k.jin](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@k.jin](https://forum.inductiveautomation.com/u/k.jin)\
**Post date:** [October 13, 2025, 12:19am UTC](https://forum.inductiveautomation.com/t/no-perspective-session-attached-to-this-thread-when-using-system-perspective-sendmessage/111371/1 "2025-10-13T00:19:40Z")

</div>

Hi everyone,

I’m currently trying to send a message from one view to another but I keep running into the 'No perspective session attached to this thread' error.

Setup is very basic, I have a message handler setup on a view (let’s call it component A) and a button in another view (component B) calling system.perspective.sendMessage(‘msg\_to\_component\_A’) on a click.

It feels like a very basic setup but I’m not sure why it fails the way it does.

I can force it to work by setting up a session message handler but I would like to avoid doing this as I’d like to keep the session message handler count to minimum.

Thank you for reading and I look forward to hearing from all of you.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 13, 2025, 12:44am UTC](https://forum.inductiveautomation.com/t/no-perspective-session-attached-to-this-thread-when-using-system-perspective-sendmessage/111371/2 "2025-10-13T00:44:58Z")

</div>

Share your code. We aren't mind-readers.
