debug code (request token)