Run Javascript breaks when input value is empty

My only concern with an API connector is that there seems to be variable properties of the data object. After I typed this, I did some searching. Totally possible.

I’ve never had a situation where I needed to do this, but I found this topic which may help OP: