跳至内容

Gmail触发器节点常见问题#

以下是Gmail Trigger节点常见错误和问题及其解决方法或排查步骤。

401 未经授权的错误#

错误信息的完整文本如下所示:

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."}

当您使用的凭据及其范围或权限出现问题时,会发生此错误。

待解决:

  1. 对于OAuth2凭证,请确保您已在API和服务 > 库中启用了Gmail API。更多信息请参考Google OAuth2 Single Service - Enable APIs
  2. For Service Account credentials:
    1. 启用全域委派.
    2. 确保在域范围委派配置中添加Gmail API。
优云智算