How to replicate

I've also attached a working demo of the issue. Just press either of the "Get Image" buttons. One button works because the target is a field. The other button produces the error because the target is a variable.