有人在尝试使用服务帐户OAUTH2方法使用Google Vault API时遇到此错误吗?
HttpError 400 when requesting https://vault.googleapis.com/v1/matters?alt=json&pageSize=10 returned "The user does not belong to any Dasher customer."
Dasher 是 Postini 的 Google 内部名称吗?
我已经多次检查了 API 和服务帐户权限。
事实证明,我需要添加委派凭据,如下所示:
delegated_credentials = credentials.with_subject('delegateuser@example.com')