Set default action to "download" and raise an error if no action has been specified.