Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/301.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用oauth2和服务器端python的作用域无效_Python_Oauth 2.0_Google Drive Api - Fatal编程技术网

使用oauth2和服务器端python的作用域无效

使用oauth2和服务器端python的作用域无效,python,oauth-2.0,google-drive-api,Python,Oauth 2.0,Google Drive Api,在身份验证期间重定向到google时出错 该网页有: 某些请求的作用域无效。{无效=[https://www.googleapis.com/drive/v2/files]} 了解更多 请求详细信息 范围=https://www.googleapis.com/drive/v2/files 在我的驱动器SDK控制台上,启用了两个作用域: [https://www.googleapis.com/auth/drive] 和 [https://www.googleapis.com/drive/v2/fil

在身份验证期间重定向到google时出错

该网页有: 某些请求的作用域无效。{无效=[https://www.googleapis.com/drive/v2/files]} 了解更多 请求详细信息 范围=https://www.googleapis.com/drive/v2/files

在我的驱动器SDK控制台上,启用了两个作用域: [https://www.googleapis.com/auth/drive] 和 [https://www.googleapis.com/drive/v2/files]

以下是有问题的url(内容已编辑): &scc=1

范围为:

https://www.googleapis.com/auth/drive
另一个是可以向其发出API请求的URL,它不是作用域