且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用执行API PHP客户端创建文档时,Google Apps脚本错误

更新时间:2021-07-27 22:33:30

问题出在我的代码中.我正在使用重定向URI,并且两个文件都需要权限范围. 但是我仅在一个文件中添加了权限范围. 因此,无论您在哪里请求客户端,都可以在所有文件中添加权限.

Problem was in my code. I was using redirect URI and the permission scope was needed in both files. But i added permission scope in only one file. So add permissions in all files wherever you are requesting the client.