As it says, it can’t find a window for that application. Is that application open?
If it isn’t, that’s the obvious problem. If the app is open and it still can’t find it, then the Selector in Attach Window isn’t correct.
Also, you should be using modern activities. They work better for things like this.
Check selector, Are you able to identify?
If not fix the selector
Hope this may help you