You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

OAuth 2.0 Playground调用Google App Script是否存在超时限制?

Testing Google Apps Script Execution via OAuth 2.0 Playground

Recently, I've been experimenting with running a simple Google Apps Script function through the OAuth 2.0 Playground, and wanted to share my setup and observations:

Script Function Overview

The function I'm testing is incredibly basic—it just waits for a specified number of seconds before returning true. Here's the full code:

function funSleep(intSeconds) { 
  Utilities.sleep(intSeconds * 1000); 
  return true; 
}

Execution Endpoint

I'm invoking the script using this API endpoint:
https://script.googleapis.com/v1/scripts/MSnRgD0GQVGwCP-h1YWmtpwV62A3zXXXX:run

Response Behavior

When the requested sleep duration is less than 55 seconds, the API returns a successful HTTP 200 OK response. The partial response headers and content look like this:

HTTP/1.1 200 OK
Content-length: 133
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
Transfer-...

内容的提问来源于stack exchange,提问作者FreeZey

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 12:00:59