我创建了一个与Google Cloud 端硬盘互动并发送电子邮件的应用脚本 . 项目属性下的范围显示以下必需范围 .

https://www.googleapis.com/auth/documents
https://www.googleapis.com/auth/script.send_mail
https://www.googleapis.com/auth/script.storage
https://www.googleapis.com/auth/spreadsheets

我正在尝试在Google OAuth Playground中生成刷新令牌 . 当我提供 https://www.googleapis.com/auth/script.send_mail 作为其中一个范围时,它会错误地说它是一个无效的范围 .