AssertionError: Request global variable is not set
问题 I know this is a duplicate question but by referring previous answers i couldn't find the solution yet. I am using Google report api to fetch logs. Please refer this link: https://developers.google.com/admin-sdk/reports/v1/libraries Everything goes well and I am able to generate authorize URL using scope,client id etc. But I am not able to redirect user to URL to fetch "code" from authorize URL. I tried using webapp2 script but throws error = AssertionError: Request global variable is not set