Raise an error when id or woeid is not specified