Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/three.js/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 sheets Google Sheets API超时_Google Sheets_Google Sheets Api - Fatal编程技术网

Google sheets Google Sheets API超时

Google sheets Google Sheets API超时,google-sheets,google-sheets-api,Google Sheets,Google Sheets Api,我制作了一个脚本,使用GoogleSheetsAPI在GoogleSheets中写入行。经过一段时间的运行和完美工作后,它会给我一个401错误: 代码:401, 消息:“请求没有有效的身份验证凭据。”, 状态:“未经验证” 我想这只是给我一段时间的时间,但我不确定。有没有办法防止它给我这个错误。你能提供复制错误的脚本吗?当然,请删除您的个人信息。请提供您用于身份验证和连接的代码,确定导致错误的行,并编辑您的问题标签以包含正确的API库语言。在发布之前,请确保清除您的身份验证代码。

我制作了一个脚本,使用GoogleSheetsAPI在GoogleSheets中写入行。经过一段时间的运行和完美工作后,它会给我一个401错误:

代码:401,
消息:“请求没有有效的身份验证凭据。”,
状态:“未经验证”


我想这只是给我一段时间的时间,但我不确定。有没有办法防止它给我这个错误。

你能提供复制错误的脚本吗?当然,请删除您的个人信息。请提供您用于身份验证和连接的代码,确定导致错误的行,并编辑您的问题标签以包含正确的API库语言。在发布之前,请确保清除您的身份验证代码。