Return error if outputURL is not set