排查 Enterprise License Manager API 问题
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页介绍了您作为经销商在使用 Enterprise License Manager API 时可能会遇到的一些常见问题。
如果 Google Cloud 项目中未启用 API,则会发生此错误。如需解决此问题,请前往 Google Cloud 控制台,然后启用该 API。如需了解详情,请参阅启用 Google Workspace API。
403:domainCannotUseApis
如果客户已停用经销商对 Admin SDK API 的访问权限,则会发生此错误。如需解决此问题,请让客户重新启用对 Admin SDK API 的访问权限。如需了解详情,请参阅控制 API 访问权限。
403:forbidden
如果您不是客户的所有者,或者您的客户已停用转销商对其管理控制台的访问权限,就会发生此错误。
如需解决此问题,请在进行调用之前调用 customers.get
方法以验证转销商对客户的所有权,或者让客户重新启用对其管理控制台的转销商访问权限。如需了解详情,请参阅访问客户的管理控制台。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Troubleshoot Enterprise License Manager API issues\n\nThis page describes some common issues that you might encounter involving the\nEnterprise License Manager API as a reseller.\n\n`403:usageLimits.accessNotConfigured`\n-------------------------------------\n\nThis error occurs when the API isn't enabled in the Google Cloud project. To resolve\nthis issue, go to the Google Cloud console, and enable the API. For more\ninformation, see\n[Enable Google Workspace APIs](/workspace/guides/enable-apis).\n\n`403:domainCannotUseApis`\n-------------------------\n\nThis error occurs when your customer has disable reseller access to the\nAdmin SDK API. To resolve this issue, ask your customer to re-enable access to\nthe Admin SDK API. For more information, see\n[Control API access](https://support.google.com/a/answer/60757).\n\n`403:forbidden`\n---------------\n\nThis error occurs when you don't own the customer or your customer has disabled\nreseller access to their Admin console.\n\nTo resolve this issue, either call the\n[`customers.get` method](/workspace/admin/reseller/v1/reference/customers/get)\nbefore making calls to verify reseller ownership of customer or ask your\ncustomer to re-enable reseller access to their Admin console. For more\ninformation, see\n[Access a customer's Admin console](https://support.google.com/work/reseller/answer/6184379)."]]