Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.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
Google drive api 运行示例代码将文件上载到google drive时出错_Google Drive Api - Fatal编程技术网

Google drive api 运行示例代码将文件上载到google drive时出错

Google drive api 运行示例代码将文件上载到google drive时出错,google-drive-api,Google Drive Api,按照来自的教程将任何示例文档从本地系统上载到goolge drive,但出现以下错误: 拒绝在帧中显示“…%2LocalHost&response_type=token&state=513052220%7C0.1330524626&authuser=0”,因为它将“X-frame-Options”设置为“SAMEORIGIN” 我也更改了客户端Id,但错误保持不变,是否需要处理Google API错误?我的XAMPP Windows本地主机可能存在一些问题。在node.js服务器中部署相同的应用

按照来自的教程将任何示例文档从本地系统上载到goolge drive,但出现以下错误: 拒绝在帧中显示“…%2LocalHost&response_type=token&state=513052220%7C0.1330524626&authuser=0”,因为它将“X-frame-Options”设置为“SAMEORIGIN”
我也更改了客户端Id,但错误保持不变,是否需要处理Google API错误?

我的XAMPP Windows本地主机可能存在一些问题。在node.js服务器中部署相同的应用程序或将Dropbox/Google Drive作为Web应用程序托管也可以正常工作。

我在提供clientId='garbage'时收到此错误。实际上,您的客户机id=。

如何从文件webserver运行html页面?在iframe中?您在创建页面时是否正确设置了“授权JavaScript源代码”。