show error message for getting token failed