Message Handler Focus sending error in logs

I am using Perspective and trying to send focus to a textbox if another textbox value changes, but sometimes it doesn't seem to work and I get this error in my logs:
"Unable to send focus message from script to running session"

Here is my message handler:

Here is the change script on props.text of the textbox changing values:

	if self.custom.prgrmNum in (2, 3, 5, 6):
		system.perspective.sendMessage('provideFocus')

I have a custom property linked to a tag called prgrmNum, that is used in the above script.

Any ideas why I am getting this error in my logs?

One thing to try would be update the scope of your message send and receive to be view, page, and session. I have had issues in the past where messages get lost if I only do page as scope.

Another thing to consider is when this happens. Does it happen when you save from designer and go back to the view? Or randomly while using the application. The "Hot Reload" feature of Ignition is great but sometimes you need to kill the browser session and restart it after a few saves to get the React State to fix itself.