Export token request wrapping to try catch