error logging in request token