Raise error if arguments are missing