I found out the reason. I had a simple domain name as the value of the
query parameter in the command, but it turned out I needed to add
http:// to the domain to make it work.
I think Yahoo must have tightened up the syntax of the command lately,
because this used to work.
Paul