Skip to content

Gmail 触发节点常见问题(Gmail Trigger node common issues)#

以下是一些 Gmail 触发节点 的常见错误和问题,以及解决或排查这些问题的步骤。

🌐 Here are some common errors and issues with the Gmail Trigger node and steps to resolve or troubleshoot them.

401 未授权错误(401 unauthorized error)#

错误的完整文本如下:

1
401 - {"error":"unauthorized_client","error_description":"Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested."}

当你使用的凭据及其作用域或权限存在问题时,会发生此错误。

🌐 This error occurs when there's an issue with the credential you're using and its scopes or permissions.

解析:

🌐 To resolve:

  1. 对于 OAuth2 凭据,请确保已在 API 和服务 > 库 中启用 Gmail API。有关更多信息,请参阅 Google OAuth2 单一服务 - 启用 API
  2. 针对 服务账户 凭据:
    1. 启用全域委派
    2. 确保将 Gmail API 添加为域级委托配置的一部分。