Throwing Error when trying to duplicate authorization