make sure you are facing the target. IDK if they ever changed it, but it used to sometimes give that message instead of "unable to see target". There's an option you can toggle somewhere in the config so you always face a target when casting.